Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux General

Linux General Any questions that are not covered by other forums go here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-17-2008, 08:31 PM
Senior Member
 
Join Date: Jan 2007
Posts: 140
Wanch is on a distinguished road
Default delete all mail?

When I view "mail" there are a ton of items in there. I want to see the last item. Is there a way to delete all items? Or all items but the last item?

Code:
# mail
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 07-21-2008, 01:11 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 390
Tor is on a distinguished road
Default

You can just empty the mail file. The mail file is at:

Code:
# /var/spool/mail
For root it would be

Code:
# /var/spool/mail/root
Reply With Quote
  #3 (permalink)  
Old 07-22-2008, 10:03 AM
Member
 
Join Date: Jan 2008
Posts: 78
LinuxBomber is on a distinguished road
Default

Doesn't Linux have something like Thunderbird?
Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 01:47 PM
TotalPenguin's Avatar
Administrator
 
Join Date: May 2007
Posts: 470
TotalPenguin will become famous soon enoughTotalPenguin will become famous soon enough
Default

Well, you can install something like that...
__________________
Business Directory
Technology Blog
Reply With Quote
  #5 (permalink)  
Old 07-22-2008, 02:39 PM
Member
 
Join Date: Jan 2008
Posts: 51
TotalNoob is on a distinguished road
Default

So why are they using CLI to delete mail?
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 07-23-2008, 03:25 PM
TotalPenguin's Avatar
Administrator
 
Join Date: May 2007
Posts: 470
TotalPenguin will become famous soon enoughTotalPenguin will become famous soon enough
Default

I've got no idea. Maybe that is for some kinda server?
__________________
Business Directory
Technology Blog
Reply With Quote
  #7 (permalink)  
Old 07-24-2008, 01:50 PM
Senior Member
 
Join Date: Jan 2007
Posts: 140
Wanch is on a distinguished road
Default

Quote:
Originally Posted by TotalNoob View Post
So why are they using CLI to delete mail?
Because it is system mail (root) and I am logged in via SSH.
Reply With Quote
Reply

Tags
mail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mail problem Tor Linux Web Server 5 03-24-2008 12:35 PM
Delete files that are 30 days old Pan Linux General 3 02-22-2008 07:38 AM
Viewing mail queue from Console Crop Linux Networking 1 12-06-2007 10:13 PM


All times are GMT. The time now is 01:47 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.