Find the process id of the script and kill the job

Assignment Help Management Information Sys
Reference no: EM131157271

As you complete each of the following steps, keep track of what occurs at each point; including what you type, the output given, and any errors experienced. Submit this information in a log to your instructor for this week's assignment. Your log can use the sample format provided, or you can create your own.

1. In the same folder as last week, create a new file titled week4prog1[name].scr.

2. Change the permissions on this new file to add the execute bit for user, group, and owner.

3. Run the following script:

a. #!/bin/bash

b. count=1

c. echo "start of the program"

d. while [ $count -le 10 ]

e. do

1) echo "Loop #$count"

2) sleep 10

3) count=$[ count + 1 ]

f. done

g. echo "end of the program

4. Modify the program to add a trap for SIGINT and SIGTERM.

5. Save the script and then run the script in the background.

6. Use the jobs command to display a list of the jobs currently running.

7. Find the process id of the script and kill the job.

8. Check to see if you get the trap message.

9. Run the script again using the at command to schedule the job in the future. Wait for the job to run to make sure it executes.

Reference no: EM131157271

Questions Cloud

Introduce time when you experience effective communication : Write a paragraph introducing a time when you experienced effective communication in a business environment. erienced effective communication
Dividend income and capital gains : Therefore, even if the tax rates on dividend income and capital gains are the same, stock repurchase is always preferable to a dividend payment." Explain with a simple example why this is not the case.
Examine your description of the challenges of leadership : Examine your description of the challenges of leadership. How well equipped are you at the end of this course to handle those challenges? Have you achieved your goals for this course?
Return to george from owning the stock : George purchase a stock for 45 one year ago. The stock is now worth 65 during the year the stock paid a dividend of 2.50 what is the total return to George from owning the stock?
Find the process id of the script and kill the job : Modify the program to add a trap for SIGINT and SIGTERM. Save the script and then run the script in the background. Use the jobs command to display a list of the jobs currently running.
Caterpillar book debt-to-value ratio : a. What was Caterpillar's book debt-to-value ratio? b. What was its market debt-to-value ratio? c. Which measure should you use to calculate the company's cost of capital?
Calculate graphically the number of theoretical plates : Using the data below, calculate graphically the number of theoretical plates needed using an L/D of 1.6 times the minimum Reflux ratio Rm.
Write a brief introduction that informs the reader : Write a brief introduction that informs the reader of the topic of the assignment and its organization. Remember, an effective essay introduction tells the reader what you will discuss in your paper.
Determining the cost of capital : Your Learning Resources this week illustrated several methods firms can use for determining their cost of capital. These resources also highlighted how accounting practices and capital markets can influence a firm's cost of capital. Now that you h..

Reviews

Write a Review

Management Information Sys Questions & Answers

  Parts of the frame for analysis

Parts of the FRAME for analysis of IS are Purpose, Boundary, Environment

  Write the your company management of data

Write the Your Company's Management of Data and Knowledge section and the Your Company's Use of the Internet section of your term paper

  Payroll cycle- harware and software controlsin respects to

payroll cycle- harware and software controlsin respects to the payroll cycle - think of what hardware and software

  Write paper for publication to the website

Please prepare a white paper for publication to the website (APA Format) that discusses knowledge management systems. Please begin by explaining the differences among data, information and knowledge

  Outline sound practices for reducing input errors

As the design of user input commences, one of the first tasks is to assess the various alternatives for entering information. The primary objective of any form of data input is to enter or update error-free data.  Fraud is a problem reaching epidemic..

  The security of corporate information

What impact do these have on the security of corporate information?  What steps does the corporation take to ensure its intellectual property is intact? What about client information?

  Encrytion should be specified to be wpa or wpa2

Many companies have concerns about security when using wireless. The encrytion should be specified to be WPA or WPA2 and some companies insist on also using VPN over the local wireless? WHY?

  What is the main thrust of crm systems

What is the main thrust of CRM systems in contributing to operational excellence - Information form CRM systems increases sales revenue by identifying the most profitable customers and segments for focused marketing and cross-selling.

  Weaknesses of a technology differ from organization

Technology and Organizations - Do the strengths and weaknesses of a technology differ from organization to organization?

  What is the name of the hidden administrative share

A Windows Server2003/2008 system configured as part of a network workgroup would be properly referred to by which of the following?

  Operations management and supply chain

Operations Management - Supply Chain - How can the members of the chain be convinced to allow the chain to be managed by one organization?

  Develop innovative and agile computer-based solutions

What unforeseen problems or obstacles did you encounter during your capstone experience? What challenges did you face? What would you do differently?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd