Fedora Linux Support Community & Resources Center
Old 16th September 2009, 02:40 PM
massimomm Offline
Registered User
Join Date: Sep 2005
Posts: 87
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 !
Reply With Quote
Old 16th September 2009, 02:52 PM
bob Online
Administrator (yeah, back again)
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 72
Posts: 23,217
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:


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
Old 16th September 2009, 04:30 PM
szihs Offline
Registered User
Join Date: Sep 2008
Posts: 30

echo " " > /var/log/messages
Reply With Quote
Old 17th September 2009, 01:04 PM
massimomm Offline
Registered User
Join Date: Sep 2005
Posts: 87
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

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: 05:26 (Tuesday, 22-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

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