Shell/Bash: untar a file Example
Shell/Bash Example: This is the "untar a file" Example. compiled from many sources on the internet by SimpleTutorials.org
untar a file
# if it is a .tar.gz file tar -zxvf file_name.tar.gz
extract tar.gz ubuntu terminal
tar -xvf yourfile.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
untar .tar file
tar -xvf yourfile.tar
unarchive tar acrhive
tar -xvf file.tar etc/resolv.conf tar -xzvf file.tar.gz etc/resolv.conf tar -xjvf file.tar.bz2 etc/resolv.conf #Extract files into a specific folder tar -xf archive.tar.gz -C /home/linuxize/files
* Summary: This "untar a file" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!