GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Programs   Up: Reading Mail   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index

3.5.2.5 Changing Mailbox/Directory

Mail command: cd [dir]
Mail command: chdir [dir]
Mail command: ch [dir]

Change to the specified directory. If dir is omitted, $HOME is assumed.

Mail command: file [mailbox]
Mail command: fi [mailbox]
Mail command: folder [mailbox]
Mail command: fold [mailbox]

Read in the contents of the specified mailbox. It can be either the name of the existing file, a mailbox URL (see Mailbox), or any of the following shortcuts:

%

The system mailbox for the invoking user.

%user

The system mailbox for user.

#

The previous file.

&

The current ‘mbox’.

@

Secondary mailbox, given using the -f command line option.

+file

The named file in the folder directory. See folder variable.

The current mailbox is updated as if quit command has been issued. If mailbox is omitted, the command prints the current mailbox name followed by the summary information regarding it, e.g.:

? fold
"/var/spool/mail/gray": 23 messages 22 unread

GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Programs   Up: Reading Mail   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index