📄 mail.1
字号:
.TH MAIL 1 .SH NAMEmail \- send or receive mail among users.SH SYNOPSIS.B mailperson ....br.B mail[.B \-r] [.B \-q] [.B \-p] [.B \-ffile].LP.SH DESCRIPTION.I Mailwith no argumentprintsa user's mail,message-by-message,in last-in, first-out order;the optional argument.B \-rcauses first-in, first-out order.If the.B \-pflag is given, the mail is printed with no questions asked;otherwise,for each message,.I mailreads a line from the standard inputto direct disposition of the message..TPnewlineGo on to next message..TPdDelete message and go on to the next..TPpPrint message again..TP\-Go back to previous message..TP.RI "s [" " file " "] ..."Save the message in the named.I files(`mbox' default)..TP.RI "w [" " file " "] ..."Save the message, without a header, in the named.I files(`mbox' default)..TP.RI "m [" " person " "] ..."Mail the message to the named.I persons(yourself is default)..TPEOT (control-D)Put unexamined mail back in the mailbox and stop..TPqSame as EOT..TPxExit, without changing the mailbox file..TP!commandEscape to the Shell to do command..TP?Print a command summary..PPAn interrupt stops the printing of the current letter.The optional argument.B \(miqcauses.I mailto exit after interruptswithout changing the mailbox..PPWhen.I personsare named,.I mailtakes the standard input up to an end-of-file(or a line with just `.')and adds it to each.I person's`mail' file.The message is preceded by the sender's name and a postmark.Lines that look like postmarks areprepended with `>'.A.I personis usually a user name recognized by.IR login (1).To denote a recipient on a remote system, prefix .I personby the system name and exclamation mark (see.IR uucp (1))..PPThe.B \-foption causes the named file, e.g. `mbox',to be printed as if it were the mail file..PPEach user owns his own mailbox, which is by default generallyreadable but not writable.The command does not delete an empty mailbox nor change its mode,so a user may make it unreadable if desired..PPWhen a user logs in he is informed of the presenceof mail..SH FILES/usr/spool/mail/* mailboxes.br/etc/passwd to identify sender and locate persons.brmbox saved mail.br/tmp/ma* temp file.brdead.letter unmailable text.bruux(1).SH "SEE ALSO"xsend(1), write(1), uucp(1).SH BUGSThere is a locking mechanism intended to preventtwo senders from accessing the same mailbox, but itis not perfect and racesare possible.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -