tar zip folder ubuntu code example
Example 1: tar.gz terminal
tar -xzvf archive.tar.gz
Example 2: how to zip with tar command
tar -czvf archive.tar.gz /usr/local/something
tar -xzvf archive.tar.gz
tar -czvf archive.tar.gz /usr/local/something