How to extract tar files in Linux

Author: Randy Alexander
Date Of Creation: 4 April 2021
Update Date: 26 June 2024
Anonim
How to create,extract,compress tar files in linux ubuntu [ Explained ]
Video: How to create,extract,compress tar files in linux ubuntu [ Explained ]

Content

Extract TAR files (files) whether compressed with Gzip or not.

Steps

  1. Open Terminal (command line interface).

  2. Type tar.
  3. Type a space.

  4. Type -x.
  5. If the tar file was compressed using gzip (with .tar.gz or .tgz extension), type z.

  6. Type f.
  7. Type a space.
  8. Type the name of the file you want to extract.
  9. Type Enter. advertisement

Advice

  • For the verbose output command (lookup required), add v to the option list.

Warning

  • Extracting may overwrite the file in some places if it includes a file with the same name.