Read the following scenario. Provide the command(s) in context of the environment established in the scenario. Write your answers on the line under each question.

Your home directory is /usr/students/project
You have just logged in, and system informs you that you have mail.
You have a file called myfile in your home directory

1. Send myfile to the user ID number DU007
2. Compose the following mail and send it to the user ID number DU007
3. Start composing the message
Hi, what a day!
4. Read the current date and time and place it in your message
5. Save your composed message in mymail file
6. End your message
7. Mail myfile to yourself
8. Read your mail
9. Display message number 3
10. Replay to the current message
11. Delete message numbers 3 and 4
12. Undelete all the deleted messages
13. Save the message number 6 in mymail file
14. Exit without removing the mail from your system mailbox
15. Display the message headers only
16. Read message number 1<%0>
17. Replay to the message number 1
18. Delete message numbers 1 to 4
19. Exit mailx and remove mail from your system mailbox
20. Read your mail from another file, let's say mbox

1. Send myfile to the user ID number DU007
=>> mailx DU007 << myfile
2. Compose the following mail and send it to the user ID number DU007
=>> mailx s greeting DU007
3. Start composing the message
Hi, what a day!
=>> Hi, what a nice day!
4. Read the current date and time and place it in your message
=>> ~ << ! date
5. Save your composed message in mymail file
=>> ~ w mymail
6. End your message
=>> [Ctrl d]
7. Mail myfile to yourself
=>> mailx your login ID << myfile
8. Read your mail
=>> mailx [return]
9. Display message number 3
=>> 3 [return]
10. Replay to the current message
=>> R [return] replay message [Ctrl d]
11. Delete message numbers 3 and 4
=>> d3-4
12. Undelete all the deleted messages
=>> U*
13. Save the message number 6 in mymail file
=>> s6 myfile
14. Exit without removing the mail from your system mailbox
=>> x
15. Display the message headers only
=>> mailx –H
16. Read message number 1<%0>
=>> 1 [Return]
17. Replay to the message number 1
=>> r 11
18. Delete message numbers 1 to 4
=>> d 1-4
19. Exit mailx and remove mail from your system mailbox
=>> q
20. Read your mail from another file, let's say mbox
=>> mailx f mbox

Computer Science & Information Technology

You might also like to view...

To edit the data directly in a cell, make the cell active and then press the ____ key or double-click the cell.

A. F1 B. F2 C. F3 D. F4

Computer Science & Information Technology

An ideal webpage in a mobile viewport requires excessive scrolling.?

Answer the following statement true (T) or false (F)

Computer Science & Information Technology