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

  Design the class table and uml diagram

Question 1: Design the class table and UML diagram. Question 2: Write an algorithm for each operation. Question 3: Write a test or driver algorithm to test the solution.

  Write a program that decides if a number x is in the matrix

Write a program that decides if a number X is in the matrix. Let the user enter the size of the matrix n, the content, and the number X to search. Display the result of your search in the screen. While testing your program for submission, make sur..

  Create default constructor which invokes superclass

Create a (default) constructor which invokes superclass constructor with value 3 (law school is typically a three year program).

  Write down a program which asks user to type of series of

write a program that asks user to type of series of positive integers. when the user types a negative value the program

  Writing script for fahrenheit in celsius temperature

Use functions to write script which enables user to enter either Fahrenheit temperature and display Celsius equivalent or enter Celsius temperature.

  Design a program using structured pseudocode

Design a program using structured pseudocode as demonstrated in the lectures and, ensuring all variables are declared, prompt the user for the appropriate input and display a meaningful output message.

  Create application program to declare two circles

Create an application program that declares two circles set radius of one manually but allow the other to use default value supplied by constructor then display each circles values.

  Write a loop that will show the price of silver and gold

Write a C++ program that displays a table showing the price of silver and gold. The table will have three columns. The first column will be labeled Ounces, the second labeled Silver

  Identify all the pure-strategy nash equilibria of game

Identify all of the pure-strategy Nash Equilibria of this game. Identify at least one mixed-strategy Nash Equilibrium, and show that it is a Nash Equilibrium.

  Write the code for the instantiable class bus

Write the code for the instantiable class Bus, which represents a bus that moves passengers around in a simulated city. Bus objects have a ticket price, a maximum capacity of passengers, and a current number of passengers.

  Create class having property to store dollar value of order

Create the class which has the property to stores dollar value of order. Class has CalculateFinalAmount which uses this logic--If dollar value is at least $500, solution decreases dollar value by $50.

  Create a serial sequence detector

You are to create a "Serial Sequence Detector". Your design will take in clock, reset, and one-bit data signal. Your design will check input data signal on rising edge of the input clock.

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