该程序位于中/usr/bin/mail
。执行后,Version 8.1.2 01/15/2001
显示。
输入list
产生:
Commands are:
next, alias, print, type, Type, Print, visual, top, touch, preserve,
delete, dp, dt, undelete, unset, mail, mbox, pipe, |, more, page, More,
Page, unread, Unread, !, copy, chdir, cd, save, source, set, shell,
version, group, write, from, file, folder, folders, ?, z, headers,
help, =, Reply, Respond, reply, respond, edit, echo, quit, list, xit,
exit, size, hold, if, else, endif, alternates, ignore, discard, retain,
saveignore, savediscard, saveretain, core, #, inc, new
输入?
产生:
Mail Command Description
------------------------- --------------------------------------------
t [message list] type message(s).
n goto and type next message.
e [message list] edit message(s).
f [message list] give head lines of messages.
d [message list] delete message(s).
s [message list] <file> append message(s) to file.
u [message list] undelete message(s).
R [message list] reply to message sender(s).
r [message list] reply to message sender(s) and all recipients.
p [message list] print message list.
pre [message list] make messages go back to /var/mail.
m <recipient list> mail to specific recipient(s).
q quit, saving unresolved messages in mbox.
x quit, do not remove system mailbox.
h print out active message headers.
! shell escape.
| [msglist] command pipe message(s) to shell command.
pi [msglist] command pipe message(s) to shell command.
cd [directory] chdir to directory or home if none given
fi <file> switch to file (%=system inbox, %user=user's
system inbox). + searches in your folder
directory for the file.
set variable[=value] set Mail variable.
输入z
显示消息列表的末尾-但该命令未显示在?
帮助页面中。
- 这是什么节目?
- 是否有使用教程?
- 有哪些常用命令和有用的技巧?
- 如何浏览消息列表(与相对
z
)或刷新消息列表?
澄清:这个问题是关于交互式程序的,而不是关于可脚本化的命令的-即在mail
终端中键入没有标志或参数的结果。
嗯,很酷。那是什么反面
—
cwd
z
呢?不是a
,我无法弄清楚:)
感谢您的粗体#3。该死的东西不可能在30秒的Google搜索中找到。您会认为最基本的功能将是提到的第一件事。
—
paulwal222 '16
我正在寻找的命令是
—
ntc2
f*
重新列出所有主题行,d*
删除所有邮件并q
退出。要阅读邮件,我一直按Enter键。
z
它在第一行命令列表中,在第四行的末尾(第五行显示“命令为:”)。