Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #extract #tgz #file #linux
ADD COMMENT
Topic
Name
4+2 =