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

  Hcit in terms of software development

What does the future look like for HCIT in terms of software development

  What do you meant by knowledge management

What do you meant by knowledge management and If you were in charge of developing a knowledge management system in your company, what kinds of things would you take into account?

  Discuss ways in which the changes will be implemented

The owner was impressed with your presentation last week and is willing to move forward with the implementation of the new information system. Discuss ways in which the changes will be implemented

  List of the key stakeholders in your organization it project

Create a list of the key stakeholders in your organization's IT projects. Describe the roles and responsibilities of each stakeholder with respect to IT projects. Summarize the issues related to the organization's IT projects that are important to ea..

  Powerpoint presentation - recommend a software solution

Recommend a software solution - Powerpoint is going to the CEO for recommendations. Please give details and recommend why chosing Microsoft SL ( Solomon) over Microsoft Dynamics Great Plains, or Microsoft Dynamics AX

  Making choices and exercising judgmentrkh company is a

making choices and exercising judgmentrkh company is a small consulting service based just outside los angeles. it has

  Formulate a security planning model

•&νβσπ;&νβσπ;&νβσπ;&νβσπ;&νβσπ;&νβσπ;&νβσπ;&νβσπ; Formulate a security planning model that addresses and solves a security problem at an agency or corporate entity.

  List and differentiate common estimating techniques

List and differentiate common estimating techniques. Analyze each one to determine how to select and use one that is most appropriate for your project. Discuss the available computerized tools that will help you in the application of the different..

  Describe the impact of telecommuting on energy conservation

Describe how the business infrastructure should be designed so that employees will be able to continue to perform business functions in the event of a disaster (i.e., storm, hurricane, or earthquake) that destroys or makes it impossible to access ..

  Metrics for production processesas the company manychip

metrics for production processesas the company manychip examines various methods to assess its performance and design

  What mobile devices are and why mobile systems are important

Explain what mobile devices are and why mobile systems are important. Give examples of mobile devices, and, if applicable, name a mobile device you use and why you use it.

  Operational amp supply chain management1 why are companies

operational amp supply chain management1 why are companies interested in operational management today? why is it

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