Changes

Jump to: navigation, search

OPS235 Lab 5

66 bytes added, 08:38, 27 June 2016
no edit summary
#Give execute permissions and run this shell script. This script is supposed to notify the root user by email if there are any potential partition size issues.
#Issue the follow command: <b><code><span style="color:#3366CC;font-size:1.2em;">mail</span></code></b>. Check to see if there are any mail messages. If there are mail messages, they do not relate to this shell script execution. Remove all mail messages by typing d immediately followed by a mail message number range (eg. to remove all 5 messages, type '''d1-5''' and then press '''ENTER''' and enter '''q''' to exit the mail application).
#Edit the monitor-disk-space.bash shell script, and set the '''ALERT''' value from 90 to '''<b><code><span style="color:#3366CC;font-size:1.2em;">30'''</span></code></b>, save your editing session, and re-run this shell script.
#Run the '''mail''' command. Do you have a mail message? Enter the mail message number to view the message. If there is a message, what is the purpose of this message?
# Exit from the mail command.
13,420
edits

Navigation menu