/var/log/secure

blog

Verified User
Joined
Jan 28, 2011
Messages
131
Hi

I have a file in /var/log/secure it is 30 mb i can delete file? or it is necessary?
 
Well if you didnt had any security issue you can remove all the content:

Code:
echo "" > /var/log/secure

Should empty it.

But 30mbs for a log is not that big...

Regards
 
Last edited:
I guess it is a typo error. Would the command be:
Code:
echo "" > /var/log/secure

Since the >> will append, not override the file.
 
Back
Top