How do I compress and unzip a file in Unix?

Alvin Le

Member
How do I compress and unzip a file in Unix?
Answer
Summary of tar command options
  1. z – Decompress/extract tar.gz or .tgz file.
  2. j – Decompress/extract tar.bz2 or .tbz2 file.
  3. x – Extract files.
  4. v – Verbose output on screen.
  5. t – List files stored inside given tarball archive.
  6. f – Extract given filename.tar.gz and so on.
 

Tìm kiếm

Back
Top