Fedora Linux Support Community & Resources Center
  #1  
Old 16th September 2009, 02:40 PM
massimomm Offline
Registered User
 
Join Date: Sep 2005
Posts: 87
windows_vistaie
Smile Messages Log

Hi !!
I need an easy help !!
I've installed FC 11, and i want to delete the logs Messages in /var/log/..
how can i do ?
Thanks in advance !
Massimo
Reply With Quote
  #2  
Old 16th September 2009, 02:52 PM
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 69
Posts: 22,083
linuxfedorafirefox
The messages are kept active for only a week and then archived. I'd leave the current messages alone and consider removing only the older ones. They'd be identified something like this:

messages-20090823
messages-20090830
messages-20090906
messages-20090913

There are many times when you have problems and need to review a few days back when things were working perfectly, so the current messages are important to keep. Really, there's very little space-saving involved anyway and the oldest messages are automatically dumped after a month.

All that said, the "rm" command will be one option for you. Learn how to use it here: http://www.linuxcommand.org/
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #3  
Old 16th September 2009, 04:30 PM
szihs Offline
Registered User
 
Join Date: Sep 2008
Posts: 30
linuxfedorafirefox
/var/log/messages

echo " " > /var/log/messages
Reply With Quote
  #4  
Old 17th September 2009, 01:04 PM
massimomm Offline
Registered User
 
Join Date: Sep 2005
Posts: 87
windows_vistaie
great!!
this is what i need!!

so in this case i can't recover the information into the file, is it true ?
thank u veru much!!!
Reply With Quote
Reply

Tags
log, messages

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

Forum Jump


Current GMT-time: 04:37 (Tuesday, 29-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat