List the contents of a compressed file
at 2017-05-12 01:08:00.
Syntax | Description | Example(s) |
gzip -l {.gz file} | List files from a GZIP archive | gzip -l mydata.doc.gz |
unzip -l {.zip file} | List files from a ZIP archive | unzip -l mydata.zip |
tar -ztvf {.tar.gz} tar -jtvf {.tbz2} |
List files from a TAR archive | tar -ztvf pics.tar.gz tar -jtvf data.tbz2 |