How do I list the contents of a tar file?

How do I list the contents of a tar file?
Answer
List the Contents of tar File
  1. tar -tvf archive.tar.
  2. tar –list –verbose –file=archive.tar.
  3. tar -ztvf archive.tar.gz.
  4. tar –gzip –list –verbose –file=archive.tar.
  5. tar -jtvf archive.tar.bz2.
  6. tar –bzip2 –list –verbose –file=archive.tar.
15 окт. 2010 г.
 

Tìm kiếm

Back
Top