Open main menu

CDOT Wiki β

Changes

OPS335 Lab 4

14 bytes added, 11:21, 16 February 2016
no edit summary
#Re-issue the mail command. What happened?
#Exit the mail command. Create a directory in your home directory called: '''mail'''.
#Re-issue the mail command, and enter the following command at the mail prompt: '''save &nbsp; 1 &nbsp; mail/msg1'''<br>Use the cat command to check the contents of '''/var/spool/mail<yourSenecaID>''' and '''~/mail/msg1'''. Exit the mail command.
#Try sending another e-mail from your VM2 account to yourself, but using your first name instead by issuing the following command:<br>'''mail -s "Lab4a - Local - Test2" <yourFirstName>'''
#Issue the '''mailq''' command on your VM2 machine (you will need to be root) to view the mail queue. Why would this command be useful for an administrator?
13,420
edits