Thursday

See the contents of a tar.gz file without extracting

Run the below command on terminal to see the contents of a tar.gz file without extracting it,

tar -tf filename.tar.gz