Chương trình được đặt tại /usr/bin/mail. Khi thực hiện, Version 8.1.2 01/15/2001được hiển thị.
Nhập listsản xuất:
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
Nhập ?sản xuất:
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.
Việc nhập zhiển thị phần cuối của danh sách các tin nhắn - nhưng lệnh đó không được trình bày trong ?trang trợ giúp.
- Chương trình này là gì?
- Có hướng dẫn cho việc sử dụng nó?
- Một số lệnh phổ biến và thủ thuật hữu ích cho việc sử dụng nó là gì?
- Làm thế nào danh sách tin nhắn có thể được điều hướng (ngược lại
z) hoặc được làm mới?
Làm rõ : Câu hỏi này là về chương trình tương tác chứ không phải lệnh có khả năng tập lệnh - tức là kết quả của việc gõ mailkhông có cờ hoặc tham số vào thiết bị đầu cuối.
zsau đó là gì? Không phải avà tôi không thể hiểu được :)
f*liệt kê lại tất cả các dòng chủ đề, d*để xóa tất cả thư và qthoát. Để đọc thư, tôi chỉ cần nhấn enter.
znằm trong danh sách lệnh đầu tiên, gần cuối dòng thứ tư (đếm thứ năm "Các lệnh là:").