Linux command
biff 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Enable mail notification
biff y
Disable mail notification
biff n
Display the current notification status
biff
说明
biff is a mail notification utility that informs you at the command line when new mail arrives during your terminal session. When enabled, it displays the sender, subject, and the first few lines of incoming messages along with a terminal beep. The notification works asynchronously through the comsat(8) service. If comsat is not enabled on the system, biff will have no effect. For synchronous notification, use the MAIL variable in sh(1) or the mail variable in csh(1) instead. A common practice is to include biff y in ~/.login or ~/.profile to enable notifications at each login.
参数
- y
- Enable mail notification for the current terminal
- n
- Disable mail notification for the current terminal
FAQ
What is the biff command used for?
biff is a mail notification utility that informs you at the command line when new mail arrives during your terminal session. When enabled, it displays the sender, subject, and the first few lines of incoming messages along with a terminal beep. The notification works asynchronously through the comsat(8) service. If comsat is not enabled on the system, biff will have no effect. For synchronous notification, use the MAIL variable in sh(1) or the mail variable in csh(1) instead. A common practice is to include biff y in ~/.login or ~/.profile to enable notifications at each login.
How do I run a basic biff example?
Run `biff y` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does y do in biff?
Enable mail notification for the current terminal