Archive for June 24th, 2008

creating a tar.gz archive

tar -pczf name_of_your_archive.tar.gz /path/to/directory

truncating files to zero length in the bash shell

> some_file.ext