How to Extract a TAR File on Linux: 9 Steps (with Pictures)

Table of contents:

How to Extract a TAR File on Linux: 9 Steps (with Pictures)
How to Extract a TAR File on Linux: 9 Steps (with Pictures)

Video: How to Extract a TAR File on Linux: 9 Steps (with Pictures)

Video: How to Extract a TAR File on Linux: 9 Steps (with Pictures)
Video: How to Bulk delete Emails on Yahoo Mail 2024, May
Anonim

Extract files from any TAR archive, whether compressed (GZip) or not, with the following command.

Step

Extract Tar Files in Linux Step 1
Extract Tar Files in Linux Step 1

Step 1. Open Terminal

Extract Tar Files in Linux Step 2
Extract Tar Files in Linux Step 2

Step 2. Enter

tar

.

Extract Tar Files in Linux Step 3
Extract Tar Files in Linux Step 3

Step 3. Press SPACEBAR

Extract Tar Files in Linux Step 4
Extract Tar Files in Linux Step 4

Step 4. Press

-x

.

Extract Tar Files in Linux Step 5
Extract Tar Files in Linux Step 5

Step 5. If the TAR file you want to extract is compressed with GZip (marked with.tar.gz or.tgz extension), press

z

.

Extract Tar Files in Linux Step 6
Extract Tar Files in Linux Step 6

Step 6. Press

f

.

Extract Tar Files in Linux Step 7
Extract Tar Files in Linux Step 7

Step 7. Press SPACEBAR

Extract Tar Files in Linux Step 8
Extract Tar Files in Linux Step 8

Step 8. Enter the name of the file you want to extract

Extract Tar Files in Linux Step 9
Extract Tar Files in Linux Step 9

Step 9. Press Enter

Tips

  • To display the progress of the file extract process, add

    v

  • on the options list.

Recommended: