Bandit Design » Our Design Our Portfolio Contact Us
Tutorials TumbleLog Our Thoughts
Quite often at Bandit Design while we're working on your project, we'll stumble upon interesting or humourous things -- so we thought why not share them with the world!
RSS iPhone Random Archive « Home

Bandit Design

This is a TumbleLog authored at the desks of Bandit Design. We're a small web and graphic design studio based in Wellington, New Zealand.

Visit Bandit Design ยป

2 years ago

Unix Tar Gzip Command Tutorial

For my reference, the commands needed to tar, gzip, and untar files in linux commandline:

-- create tar file
tar -cvf filename.tar monkey.txt monkey2.txt

-- add a file
tar -uvf filename.tar monkey.txt

-- extract tar file
tar -xvf filename.tar

-- unzip + extract tar file
tar -zxvf filename.tar.gz

-- list tar contents
tar -tf monkey.tar

-- gzip file
gzip filename.tar

Loading...