Using tar to compress file(s)
- tar –czvf destination.tar.gz source/*
Using tar to uncompress/extract file(s)
- tar –xzvf destination.tar.gz
c = create a new tar file
v = verbose , display file to compress or uncompress
f = create the tar file with filename provided as the argument
z = use gzip to zip it
x = extract file