Shell/Bash: extract tar linux Example


Shell/Bash Example: This is the "extract tar linux" Example. compiled from many sources on the internet by

extract tar.gz ubuntu terminal

tar -xvf yourfile.tar.gz

extract tar linux

tar -zxvf file_name.tar.gz

how to unzip Tar file

## Untar files in Current Directory ##
tar -xvf filename.tar.gz

## Untar files in specified Directory ##
tar -xvf filename.tar.gz -C /path_name_for_unzip/

-x : extract
-C : specified directory
-v : Verbosely show the .tar file progress.
-f : filename of archive file

uncompress tar

tar -xvf filename.tar

extract tar

tar -xvf file.tar

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