LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

bsd-from

Display mail sender information from a mailbox

TLDR

Show who has sent mail to your mailbox
$ bsd-from
copy
Show only a count of messages
$ bsd-from -c
copy
Show mail from a specific sender
$ bsd-from -s [sender]
copy
Examine a different mailbox file
$ bsd-from -f [path/to/mailbox]
copy
Check another user's mailbox
$ bsd-from [username]
copy

SYNOPSIS

bsd-from [-c] [-f file] [-s sender] [user]

DESCRIPTION

bsd-from (also known as from) prints the mail header lines from a mailbox, showing the names of people who have sent mail. By default, it examines the invoker's mailbox.The command provides a quick way to see pending mail without opening a full mail client. It displays the "From" lines of messages, giving an overview of who has sent mail.

PARAMETERS

-c

Print only a count of messages and exit
-f file
Examine the specified file instead of the default mailbox. Use - to read from standard input
-s sender
Only print mail from addresses containing the specified string
user
Examine the specified user's mailbox instead of the invoker's (requires appropriate privileges)

CAVEATS

When using the -f option, the user argument should not be specified. Examining other users' mailboxes requires elevated privileges.The default mailbox location is determined by the MAIL environment variable, or /var/mail if not set.

HISTORY

The from command first appeared in BSD 3.0 in 1979 as part of the Berkeley Software Distribution mail utilities.

SEE ALSO

biff(1), mail(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid