← 返回命令列表

Linux command

bsd-from 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show who has sent mail to your mailbox

bsd-from

Show only a count of messages

bsd-from -c

Show mail from a specific sender

bsd-from -s [sender]

Examine a different mailbox file

bsd-from -f [path/to/mailbox]

Check another user's mailbox

bsd-from [username]

说明

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.

参数

-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)

FAQ

What is the bsd-from command used for?

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.

How do I run a basic bsd-from example?

Run `bsd-from` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c do in bsd-from?

Print only a count of messages and exit