Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

extract tar.gz Ubuntu terminal

cd ~/Downloads/archive.tar.gz #first navigate to file location
tar -xzvf archive.tar.gz -C /path/to/new/directory/ 
#-C flag will change the extraction to a new directory.
#remove -C if you want to extract it to current location.
Source by www.howtogeek.com #
 
PREVIOUS NEXT
Tagged: #extract #Ubuntu #terminal
ADD COMMENT
Topic
Name
9+2 =