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

  Online professors response to marketing managementdiscuss

online professors response to marketing managementdiscuss the strengths and weaknesses of personal selling and describe

  The importance of organizational testing methodologies

The Importance of Organizational Testing Methodologies - This solution describes the importance of testing in organizations.

  Non-technical and technical staff

How can a technology manager help to foster good working relationships between non-technical and technical staff?

  Explain differences between scholarly and popular resources

Explain the differences between scholarly resources and popular resources. Detail how you will be most effective and efficient in finding resources that fit your research needs.

  Important information about erp systems1 at what size does

important information about erp systems1. at what size does an organization consider an erp system? why does size

  Categories of physical media in use in networks

Describe at least three categories of physical media in use in telecommunications networks today. Which of these media has the highest bandwidth? Which has the least bandwidth?

  Describe the components or subsytems of the system

Describe the components or subsytems of the system and what business function they address. Identify one vendor or open source solution for the system you chose to describe

  Supply chains amp system dynamics1 what is your opinion on

supply chains amp system dynamics1 what is your opinion on the questions below?case 1 focuses on beer as an end item

  New technology and worker replacement

New Technology and Worker Replacement -  I read an article just the other stating that people are taking anything now, even jobs they would not have thought to do maybe five years ago. Explain.

  Explain each of the following mis tps dss and ai

Information systems typically support different work models. Define each of the following: MIS, TPS, DSS, and AI

  Effectiveness of the new governance structure

As one of your first tasks on the job, you have been asked to lead the formulation and implementation of a new health IT governance structure. The effectiveness of the new governance structure will be critical to your success and the success of yo..

  Functional systems and customersevaluate functional system

functional systems and customersevaluate functional system that would include a customers name and explain the purpose

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