Fill in the functionality of the skeleton script you wrote in Exercise 1 of Chapter 7, “The Korn Shell,” so that it will perform the system administration tasks in your menu-driven interface.

Useful tasks to automate include:
• automatic deletion of core files
• automatic warnings to users that use a lot of CPU time or disk space
• automatic archiving


Use the find command to find all core files in a file system. Use ps to examine CPU usage. Use
the du command to determine the amount of disk space used by a particular user’s home directory
(you will need to be running as super-user to read another user’s home directory, although you can
test your script on your own directory). Use the find command to find files that are older than a
certain amount of time that are candidates for archival.

Computer Science & Information Technology

You might also like to view...

A ____________ allows the user to switch focus to another form while it is displayed.

a. modeless form b. subsidiary form c. modal form d. minimized form

Computer Science & Information Technology

Which of the following colors suggests neutrality?

A. green B. brown C. red D. gray

Computer Science & Information Technology

Cost ____________________ is how you determine if the project is staying close to budget or not.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A quick way to see how memory is currently performing on a Windows computer is to use _____

Fill in the blank(s) with correct word

Computer Science & Information Technology