mylinuxnotes
Thursday, October 2, 2008
How to truncate a file to zero length ?
ls -l filename
cat /dev/null > filename
ls -l filename
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment