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/24 19:44] – levor | linux:extract_tgz_file [2022/05/26 21:10] (current) – levor | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Extract tgz file ====== | ====== Extract tgz file ====== | ||
| - | unpack / unzip / extract .tgz file on Linux | + | ---- |
| - | + | ===== 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 fileNameHere.tgz | + | |
| - | + | ||
| - | or: | + | |
| + | ---- | ||
| + | ===== Option 2 [gunzip | tar]: ===== | ||
| gunzip -c fileNameHere.tgz | tar xvf - | gunzip -c fileNameHere.tgz | tar xvf - | ||
linux/extract_tgz_file.1653421498.txt.gz · Last modified: 2022/05/24 19:44 by levor
