A reminder for myself.
Q: How do i view the contents of a .gz file?
A: $ tar -ztvf <filename>.gz
A command to see the structure of the gunzip file before i uncompress it. Leave out the -z to list .tar file and use -j for .bz2 file.
Posted on by Azare Puasa
A reminder for myself.
Q: How do i view the contents of a .gz file?
A: $ tar -ztvf <filename>.gz
A command to see the structure of the gunzip file before i uncompress it. Leave out the -z to list .tar file and use -j for .bz2 file.