Complete the systems administration scripting log

Assignment Help Programming Languages
Reference no: EM13753938

Complete the Systems Administration Scripting Log

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 commandto 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: EM13753938

Questions Cloud

What have you learned about statistics : The question to address is: "What have you learned about statistics?"  In developing your responses, consider - at a minimum - and discuss the application of each of the course elements in analyzing and making decisions about data (counts and/or m..
Amount of net accounts receivable before and after write off : Norcia Company, which uses the allowance method, began the year with Accounts Receivable of $32,500 and an allowance for uncollectible accounts of $3,200 (credit). What is the amount of net accounts receivable before and after the write-off?
Gsb management fee : Suppose venture capital firm GSB partners raised $100 million of committed capital. Each year over the 10-year life of the fund, 2% of this committed capital will be used to pay GSB's management fee.
Drilling truck account would appear on the balance sheet : On January 13, 2013, Precision Oil Company purchased a drilling truck for $90,000. Precision expects the truck to last five years or 200,000 miles, with an estimated residual value of $15,000 at the end of that time. Using the amount computed in (3),..
Complete the systems administration scripting log : Complete the Systems Administration Scripting Log, 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.
Describe the general concepts of tcp/ip protocols : describe the general concepts of TCP/IP protocols and apply channel capacity theories. Sketch a diagram to show the layering and fragmentation process
Corporations-partnerships and estates-trusts problem : In each of the following independent cases, write a memo for the tax research file in preparation for a meeting with Gary. In each memo, explain whether the proposed plan meets his objective of shifting income and avoiding the grantor trust rules. Ga..
Maintain a minimum balance : Randy, a student, has $500 to deposit in a new checking account, but Randy knows he will not be able to maintain a minimum balance. He will not use an ATM card, but will write a large number of checks.
Ending inventory used FIFO-LIFO and average-cost methods : There are 48 units of the item in the physical inventory on 12/31. the periodic inventory system is used. Determine the dollar value of the ending inventory used the FIFO, LIFO, and average-cost methods.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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