Sunday, November 18, 2012

How to empty a text file linux

sometimes you want to empty the text file and this how to make it:

$ cat /dev/null > the_file_will_empty

No comments:

Post a Comment