How to view the contents of tar.gz file

To view the contents of tar.gz file, run

tar tf FILE.tar.gz

tar view files

-f, --file=ARCHIVE         use archive file or device ARCHIVE
-t, --list                 list the contents of an archive

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *