Sunday, November 10, 2013

Systems Administration Scripting Log

University of Phoenix Material Systems Administration Scripting Log To: From: Date: 11/28/2011 As you complete each step listed below, note track of what occurs at each point: what you type and the widening given, as come up as if you experience any errors. Submit this information in a pound to your instructor for this weeks assignment. Your log can use the savour format provided, or defecate your own. 1. In the same brochure as last week, pee a refreshful file cabinet called week4prog1[name].scr. Cd Desktop/week4 vi week4prog1.scr 2. Change the permissions on this new file to enlarge the live up to bit for user, group, and owner. Chmod ug+x week4prog1.scr 3. Run the record below: a. #!/ store/bash b. lick=1 c. recoil pop of the syllabus d. while [ $ summercater -le 10 ] e. do i. restate Loop #$ numbering ii. quietness 10 iii. add up=$[ rate + 1 ] f. do g. echo end of the computer programme results, 4. Modify the program to add a pickle for SIGINT and SIGTERM. #!/bin/bash detain interrupt_handler SIGINT old salt terminate_handler SIGTERM interrupt_handler(){ echo Program Interrupted. exit } terminate_handler(){ echo Program terminated.
bestessaycheap.com is a professional essay writing service at which you can buy essays on any topics and disciplines! All custom essays are written by professional writers!
exit } count=1 echo start of the program while [ $count -le 10 ] do ech! o Loop #$count sleep 10 count=$[ count + 1 ] done echo end of the program Results of interrupt, Results of terminate, 5. excuse the hand and this time run the script in the background. ./week4prog1.scr & ( runs program in background 6. Use the jobs command to display a list of the jobs currently running. Jobs l 7. Find the process id of the script and kill the job. Kill -15 8. chip to see if you get the trap message....If you want to get a full essay, order it on our website: BestEssayCheap.com

If you want to get a full essay, visit our page: cheap essay

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.