मैं अपने मेलबॉक्स में संदेशों को कैसे सूचीबद्ध कर सकता हूं?


15

mailकमांड का उपयोग करना मेरे पास मौजूद संदेशों को दिखाता है और मुझे एक संकेत में छोड़ देता है, लेकिन मैं यह नहीं बता सकता कि संदेशों को कैसे सूचीबद्ध किया जाए। यहाँ मेल के लिए मदद स्क्रीन है:

Mail Command                    Description
-------------------------       ---------------------------------------------
t [message list]                type messages(s).
more [message list]             read message(s), through the $PAGER
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

जैसा कि आप देख सकते हैं, इनमें से कोई भी आदेश मेलबॉक्स में संदेशों को सूचीबद्ध नहीं करता है।

जवाबों:


23

यद्यपि मदद पाठ विशेष रूप से स्पष्ट नहीं हो सकता है, hसंदेशों को सूचीबद्ध करने के लिए कमांड है। किसी मान्य संदेश संख्या को रखने के बाद hदिए गए संदेशों की एक श्रृंखला सूचीबद्ध होगी। उदाहरण के लिए, यदि आपके पास 50 संदेश और प्रकार हैं h30, तो यह 40 के माध्यम से 21 संदेशों को सूचीबद्ध कर सकता है।

केवल विशेष संदेश प्रदर्शित करने के लिए, आप fविभिन्न क्वालिफायर का उपयोग कर सकते हैं । तो, f*सब कुछ प्रदर्शित करता है, जबकि f 1-10 20-24संदेशों को 1 को 10 और 20 को 24 के माध्यम से प्रदर्शित करता है।


+1, h1, h100, h200 इत्यादि
mikejonesey

मेरे संस्करण पर काम करता है।
mikejonesey
हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.