Warning: Undefined array key "DW7fa065a06cb74b536c124cfbe56ac6d3" in /var/www/gist.win/lib/plugins/translation/action.php on line 237

Warning: Trying to access array offset on value of type null in /var/www/gist.win/lib/plugins/translation/action.php on line 237
linux:extract_tgz_file

Extract tgz file


Option 1 [tar]:

tar zxvf file_to_extract.tgz z = zip or unzip
x = extract
v = verbose filenames (show names, info, etc.)
f = filename comes next

Option 2 [gunzip | tar]:

gunzip -c fileNameHere.tgz | tar xvf -