Manohar Negi
Pages
Home
Showing posts with label
Log File
.
Show all posts
Showing posts with label
Log File
.
Show all posts
Saturday, November 17, 2012
Truncating log files in UNIX/Linux
Most of the time we need log files to be truncated for many reasons. We can use the below command to truncate the file contents.
sudo cp /dev/null trafficking.log
Older Posts
Home
Subscribe to:
Comments (Atom)