@shijitht

December 24, 2009

Mail

Filed under: Commands — Tags: — shijitht @ 1:11 pm

Mail will sent mail to any user.

$mail username/address(Address like email)
The temporary mail messages are in the file
/var/mail/username and it’s contents deleted when
the user uses the message.
The message used with command mail
$mail
This will show the mail messages one after the other (Subject only).
When we press ENTER the messages will be shown in detail one after
the other.
we can switch to any message using it’s number
&number

The options are
&d — will delete the message
&dt — delete and show the next message
&s file name — store the message in the file specified
&q — quit the mailbox

If we quit the mailbox without deleting/storing messages, it will be stored in spool.
CTR+D can be used to exit or go to the next argument.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: