Open main menu

CDOT Wiki β

Changes

OPS335 Lab 4

12 bytes added, 21:54, 16 February 2016
no edit summary
#Type the mail message number that is displayed in your e-mail message list in the prompt and press ENTER. You should be able to confirm the message body that you sent.
#Exit the mail program by typing the letter '''q''' and press ENTER.
#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