linux:extract_tgz_file
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:extract_tgz_file [2022/05/26 16:06] – 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]: ===== | ||
| + | ||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 (show) filenames\\ f=following param is a filename|| | + | ===== Option 2 [gunzip |
| - | + | ||
| - | + | ||
| - | option 2: | + | |
| gunzip -c fileNameHere.tgz | tar xvf - | gunzip -c fileNameHere.tgz | tar xvf - | ||
linux/extract_tgz_file.1653581200.txt.gz · Last modified: 2022/05/26 16:06 by levor
