How do you extract .TGZ file in Linux?

Nguyễn Tân

New member
How do you extract .TGZ file in Linux?
Answer
The tar options are as follows to extract tgz file in Linux:
  1. -x : Extract file.
  2. -z : Deal with compressed file i.e. filter the archive through gzip.
  3. -v : Verbose output i.e. show progress.
  4. -f : File, work on data.tgz file.
  5. -C /path/to/dir/ : Extract files in /path/to/dir/ directory instead of the current directory on Linux.
 

Tìm kiếm

Back
Top