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

  Information technology and the changing fabric

Illustrations of concepts from organizational structure, organizational power and politics and organizational culture.

  Case study: software-as-a-service goes mainstream

Explain the questions based on case study. case study - salesforce.com: software-as-a-service goes mainstream

  Research proposal on cloud computing

The usage and influence of outsourcing and cloud computing on Management Information Systems is the proposed topic of the research project.

  Host an e-commerce site for a small start-up company

This paper will help develop internet skills in commercial services for hosting an e-commerce site for a small start-up company.

  How are internet technologies affecting the structure

How are Internet technologies affecting the structure and work roles of modern organizations?

  Segregation of duties in the personal computing environment

Why is inadequate segregation of duties a problem in the personal computing environment?

  Social media strategy implementation and evaluation

Social media strategy implementation and evaluation

  Problems in the personal computing environment

What is the basic purpose behind segregation of duties a problem in the personal computing environment?

  Role of it/is in an organisation

Prepare a presentation on Information Systems and Organizational changes

  Perky pies

Information systems to adequately manage supply both up and down stream.

  Mark the equilibrium price and quantity

The demand schedule for computer chips.

  Visit and analyze the company-specific web-site

Visit and analyze the Company-specific web-site with respect to E-Commerce issues

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