LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2008, 05:22 AM   #1
louisJ
LQ Newbie
 
Registered: Jun 2007
Posts: 16

Rep: Reputation: 0
browse zip archive


Hey

how to list files from a zip archive without unzipping it?

thanks.
 
Old 10-17-2008, 06:24 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,598

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
How about
Code:
unzip -l archive.zip
 
Old 10-17-2008, 11:23 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
'less archive.zip' or 'lesspipe.sh archive.zip'
The command 'lesspipe.sh' also exists as lesspipe or lessfile.
Different names in different Linux'

Regards
 
Old 10-18-2008, 04:47 AM   #4
louisJ
LQ Newbie
 
Registered: Jun 2007
Posts: 16

Original Poster
Rep: Reputation: 0
hi

thank you very much for your answers
unzip -l
works well
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Archive manager not recognising ZIP files - suggests it's a text file. AnanthaP Ubuntu 4 12-27-2007 08:10 AM
Script to Add files to a Zip archive with out unzipping it !! prashix Programming 12 10-23-2007 10:19 AM
diff b/w archive and zip V Naveen General 2 11-16-2006 08:23 AM
how to view a html file with pictures from within a zip archive? Blaumieser Linux - Newbie 0 02-12-2004 12:05 PM
What Are archive.zip files? kajensen Linux - General 1 09-21-2003 05:00 AM


All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration