December, 2007
Submitted by xqus on Sat, 12/29/2007 - 14:20
This is mostly a note for myself, but sharing is caring.
To clear the content of a file:
$ echo "" > filename
To fill a file with junk:
$ cat /dev/urandom > filename
The blog of Audun Larsen
This is mostly a note for myself, but sharing is caring.
To clear the content of a file:
$ echo "" > filename
To fill a file with junk:
$ cat /dev/urandom > filename