LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-06-2008, 06:47 PM   #1
gaspower
LQ Newbie
 
Registered: Dec 2005
Posts: 10

Rep: Reputation: 0
Command Line To Delete Emails In Inbox


Hello,

If logged in as root, is there a command line that can delete all emails in the root inbox?

Thanks JR
 
Old 05-06-2008, 06:53 PM   #2
viron
Member
 
Registered: Dec 2005
Location: McKinney, Texas
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
Type the following:

mail
d*
h (to see they're all gone)
?
 
Old 05-06-2008, 06:58 PM   #3
gaspower
LQ Newbie
 
Registered: Dec 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Thank you,

I tried that, but I must be doing something wrong. I have 187,000 emails in the inbox, so when I type mail, it scrolls and I get the & prompt. Is this where I type d*?

Thanks JR
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not delete files via Nautilus, only via command line leupi Linux - General 3 01-30-2013 03:33 AM
delete one day old emails through mutt comnand line chramesh19 Programming 0 12-27-2007 03:30 AM
number of emails over command line kvtournh Linux - Software 1 01-11-2005 09:52 AM
delete a group with command line feetyouwell Linux - Software 1 01-27-2004 10:49 AM
Number of Emails in INBOX BxBoy Programming 3 02-24-2003 08:04 AM


All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration