Friday, December 28, 2007

zero out a file

most sysadmins know this , but I am not sure who my audience is going to be yet.

anyway in order to zero out a file ...wtmp for example

cat /dev/null > wtmp (filename)

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home