Tuesday, March 26, 2013

See content of Tar/tar gz file without extracting it

Have you ever needed to peek inside a tar.gz file in UNIX/Linux terminal when you don't have a GUI option to do so, if so here is the solution you will want to use for it :)

tar -tf tarfileyouwanttopeekin.tar
or
tar -tf tarfileyouwanttopeekin.tar.gz
or
tar -tf tarfileyouwanttopeekin.tar.bz2


if you look into a Zip file :

unzip -l tarfileyouwanttopeekin.zip

No comments:

Post a Comment

Thank you for Commenting Will reply soon ......

Featured Posts

Exploring AI Titans: ChatGPT, Gemini, and DeepSeek – A Comprehensive Feature Breakdown!

  Exploring AI Titans: ChatGPT, Gemini, and DeepSeek – A Comprehensive Feature Breakdown! Description: Welcome to BytesExplorer! In today...