1835509 Members
3602 Online
110078 Solutions
New Discussion

Unzip

 
Indrajit Bhagat
Regular Advisor

Unzip

how to unzip the folder .zip extension in unix.

sorry for this silly question,
9 REPLIES 9
Luk Vandenbussche
Honored Contributor

Re: Unzip

Ivan Krastev
Honored Contributor

Re: Unzip

Indrajit Bhagat
Regular Advisor

Re: Unzip

i have allready installed the software,
just i want to know the commands.
Pete Randall
Outstanding Contributor

Re: Unzip

SYNOPSIS
unzip [-Z] [-cflptuvz[abjnoqsCLMVX$/:]] file[.zip] [file(s) ...] [-x xfile(s) ...] [-d exdir]

DESCRIPTION
unzip will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems. The default behavior (with no options) is to extract into the current directory (and subdirectories below it) all files from the specified ZIP archive. A companion program, zip(1L), creates ZIP archives; both programs are compatible with archives created by PKWARE's PKZIP and PKUNZIP for MS-DOS, but in many cases the program options or default behaviors differ.


Does that help?


Pete

Pete
Robert-Jan Goossens
Honored Contributor

Re: Unzip

# /PATH_to_zip/unzip file.zip
Steven Schweda
Honored Contributor

Re: Unzip

"unzip -h" is also popular. "man unzip"
may also be informative, if the documentation
was installed.
Dennis Handly
Acclaimed Contributor

Re: Unzip

You can list the files with: unzip -l file.zip
SKSingh_1
Frequent Advisor

Re: Unzip

Do you know, we have one command gunzip in HP-ux. try this.

# gunzip
Dennis Handly
Acclaimed Contributor

Re: Unzip

>SKSingh: we have one command gunzip in HP-UX. try this. gunzip

gunzip will work on zipped files but it will only extract the first file. To work properly you need unzip.
Here is another thread about zip/unzip:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1130788