Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly


List the contents of a compressed file
by admin
 at 2017-05-11 21: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