fbpx

How to use Unzip and Tar on Linux

Tar and Zip are both file compression formats that you’ll encounter. You can use built-in utilities in Linux and Windows to decompress / expand these files.

The command for un”tarring” a file is:

tar -xvf FileName.tar.gz

Flags:
-x extract – you need this flag
-v verbose (optional)
-f specify the name of the file – needed

The command for unzipping a file is:

unzip filename.zip

Reference:
https://www.cyberciti.biz/faq/howto-compress-expand-gz-files/

Share this article

Share on facebook
Share on twitter
Share on linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top