Ps mail
You're referring to the classic "ps mail" command!
ps mail
is a command in Unix-like operating systems that displays the contents of the system's mailbox. The mailbox is a file that stores incoming mail messages for the system administrator.
Here's a brief overview of the ps mail
command:
Syntax: ps mail
Options:
-a
or--all
: Display all mail messages, including those that are older than 30 days.-d
or--delete
: Delete the specified mail message(s).-f
or--follow
: Follow the specified mail message(s) and display new messages as they arrive.-h
or--help
: Display help information.-l
or--list
: List the contents of the mailbox without displaying the message bodies.-m
or--move
: Move the specified mail message(s) to a different mailbox.-p
or--print
: Print the specified mail message(s) to the console.-r
or--read
: Read the specified mail message(s) and display their contents.-s
or--search
: Search for specific keywords or phrases in the mailbox.-t
or--tail
: Display the most recent mail messages in the mailbox.
Examples:
ps mail
: Display the contents of the mailbox.ps mail -a
: Display all mail messages, including older ones.ps mail -d 123
: Delete the mail message with ID 123.ps mail -f 123
: Follow the mail message with ID 123 and display new messages as they arrive.
Keep in mind that the ps mail
command is specific to Unix-like systems, and its behavior may vary depending on the system and the mail client being used.