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
Need help with Linux Server or WordPress? We can help!

Leave a Reply

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