[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2


from Command

Purpose

To determine whom mail is from.

Syntax

from [ -d Directory ] [ -s Sender ]

Description

The from command displays the message headings in your mailbox file to show you whom mail is from. If you specify User, the User mailbox is examined instead of your own (provided that you have read permission to User's mailbox).

Flags


-d Directory Specifies the system mailbox directory.
-s Sender Prints message headers only for mail sent by Sender.

Examples

  1. To display the message headings in your mailbox, enter:

    from
    

    The names of the senders and message dates are displayed.

  2. To display the message headings for mail sent by a specific user, enter:
    from -s dale
    In this example, only the message headings of the messages sent from user dale are displayed.
  3. To display the message headings in a specific user's mailbox, enter:

    from   dawn
    

    In this example, the message headings from user dawn's mailbox are displayed (provided that you have read permission to dawn's mailbox).

Files


/var/spool/mail/* System mailboxes for all users.
/usr/bin/from User mailbox files.

Related Information

The mail command.

Mail Overview in AIX 5L Version 5.1 System User's Guide: Communications and Networks.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]