How to Create or Extract a tar gz File from the Command Line

In windows, it is familiar to use .zip to compress or grouping files into one archive. However in linux, tar.gz file is used regularly. The syntax will be the same in Mac OS X. Format: tar -cvzf <dest_file_tar_gz_name> <file to include in tar_gz> Example: Create tar.gz file from 2 files (test1.txt and test2.txt): tar -cvzf…Read more How to Create or Extract a tar gz File from the Command Line