How to Unzip a .ZIP file in Unix without using unzip cmd..?????


 
Thread Tools Search this Thread
Operating Systems HP-UX How to Unzip a .ZIP file in Unix without using unzip cmd..?????
# 1  
Old 02-02-2007
How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All

I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX).
I don't have unzip cmd available in my curent Unix version

Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file .

Please elaborate on the commands aval and the related steps

AWAITING REplyyy

Thannks
Suresh
# 2  
Old 02-03-2007
If java is installed, try using:
Code:
jar xvf sample.zip

Or one other way is to install unzip at your machine.
This User Gave Thanks to tayyabq8 For This Post:
# 3  
Old 02-04-2007
Alternatively create a TAR file on your windows box. Cygwin etc will help.
# 4  
Old 02-06-2007
you can use the command uncompress, I have use winzip to read file compressed with uncompress, never used viceversa, I think it could work.
just put
uncompress sample.zip
maybe you have to change the .zip to .Z before you can use it.
uncompress sample.Z
Maybe you can use pkunzip.
# 5  
Old 02-06-2007
.zip .Z and .gz are all different, if they were all the same, you would not need different extensions.

A .gz or .Z file is merely a compressed binary stream.

A zip file is more akin to a .tar.Z in that it contains file meta data.

WinZip is able to make intelligent guesses about what a file really is.

You could create a small tar on the HPUX box, ftp it back to the windows box, use WinZip to open and add your various files, then ftp it back up again. Unpack using tar again on HPUX.
# 6  
Old 02-08-2007
I guess installing unzip is not an option?
http://hpux.cs.utah.edu/hppd/hpux/Misc/unzip-5.52/
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unzip the .zip file without using unzip utility in UNIX

I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix. Please help me resolve this issue Thanks ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies

2. Shell Programming and Scripting

Need unix command to unzip Dump3.zip

Hi, home/user01 contains Dump3.zip . i need to extract that in the same path. need unix command Thanks (2 Replies)
Discussion started by: aish11
2 Replies

3. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

4. Shell Programming and Scripting

unzip .zip file in unix

Hi friends, I have a .zip file which has 6 pdf files. I have ftp'd the .zip file into unix and I am trying to uncompress/unzip the file. Could you please help with the right command. Thanks (7 Replies)
Discussion started by: techmoris
7 Replies

5. UNIX for Advanced & Expert Users

how to unzip 17GB .zip file on UNIX?

I have a .zip file of size 17GB on Linux. As per my knowledge unzip(before 6.X version) doesn't work with file size greater than 4GB. I tried my best to uncompress it but didn't successed. Can anybody help me out with this? Any help will be greatly appreciated. Thank you. Regards, Chandu (2 Replies)
Discussion started by: chance04
2 Replies

6. Shell Programming and Scripting

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

7. UNIX for Dummies Questions & Answers

unzip .zip file and list the files included in the .zip archive

Hello, I am trying to return the name of the resulting file from a .zip archive file using unix unzip command. unzip c07212007.cef7081.zip Archive: c07212007.cef7081.zip SecureZIP for z/OS by PKWARE inflating: CEP/CEM7080/PPVBILL/PASS/G0063V00 I used the following command to unzip in... (5 Replies)
Discussion started by: oracledev
5 Replies

8. UNIX for Advanced & Expert Users

How to unzip a .zip file when

there is no unzip package present. (2 Replies)
Discussion started by: yogesh_powar
2 Replies

9. UNIX for Dummies Questions & Answers

how can perform zip or unzip at unix console

how can perfrom zip or unzip for bulk of files at unix console can anybody tell that command (2 Replies)
Discussion started by: lmraochodisetti
2 Replies

10. UNIX for Dummies Questions & Answers

unzip a zip file

hello everyone, i have a dumb question...how do i unzip a zip file?? it has an .zip extension... thanks xNYx (4 Replies)
Discussion started by: xNYx
4 Replies
Login or Register to Ask a Question