linux:extract_tgz_file
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:extract_tgz_file [2022/05/26 21:08] – levor | linux:extract_tgz_file [2022/05/26 21:10] (current) – levor | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Extract tgz file ====== | ====== Extract tgz file ====== | ||
| + | ---- | ||
| ===== Option 1 [tar]: ===== | ===== 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|| | ||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]: ===== | ===== Option 2 [gunzip | tar]: ===== | ||
| gunzip -c fileNameHere.tgz | tar xvf - | gunzip -c fileNameHere.tgz | tar xvf - | ||
linux/extract_tgz_file.1653599330.txt.gz · Last modified: 2022/05/26 21:08 by levor
