How to list the contents or files from a tar.gz file in LINUX CENTOS 5.2

tom on February 11th, 2009

I keep forgetting how to do this… so here goes:

tar -tvzf tarfile.tar.gz

non gzip file:

tar -tfv tarfile.tar


Comments are closed.