Shell/Bash: how to extract tgz file in linux Example

By

Shell/Bash Example: This is the "how to extract tgz file in linux" Example. compiled from many sources on the internet by SimpleTutorials.org

how to extract tgz file in linux

tar zxvf file_name.tgz

where,
-z : Uncompress the resulting archive with gzip command
-x : Extract to disk from the archive
-v : Produce verbose output i.e. show progress and file names while extracting files
-f backup.tgz : Read the archive from the specified file called backup.tgz

linux extract tgz

tar zxvf file.tgz


* Summary: This "how to extract tgz file in linux" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others