tar package code example Example 1: tar.gz terminal tar -xzvf archive.tar.gz Example 2: archive tar tar -czvf archive.tar.gz /usr/local/something