December, 2007

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