The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Unzip a .ZIP file in Unix without using unzip cmd..????? sureshg_sampat Shell Programming and Scripting 4 08-27-2008 08:29 PM
Unzip windows file on Unix terala_s UNIX for Advanced & Expert Users 6 11-09-2007 05:55 AM
How to unzip a .zip file when yogesh_powar UNIX for Advanced & Expert Users 2 06-29-2006 11:40 PM
how can perform zip or unzip at unix console lmraochodisetti UNIX for Dummies Questions & Answers 2 06-23-2006 10:44 AM
unzip a zip file xNYx UNIX for Dummies Questions & Answers 4 03-20-2002 05:02 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-02-2007
Registered User
 

Join Date: Nov 2006
Location: Czech Republic
Posts: 39
Stumble this Post!
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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-03-2007
tayyabq8's Avatar
UNIX Hobbyist
 

Join Date: Nov 2004
Location: /World/Asia/MiddleEast/Kuwait/Salmiya
Posts: 522
Stumble this Post!
If java is installed, try using:
Code:
jar xvf sample.zip
Or one other way is to install unzip at your machine.
Reply With Quote
  #3 (permalink)  
Old 02-04-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Stumble this Post!
Alternatively create a TAR file on your windows box. Cygwin etc will help.
Reply With Quote
  #4 (permalink)  
Old 02-06-2007
Registered User
 

Join Date: Dec 2006
Posts: 27
Stumble this Post!
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.
Reply With Quote
  #5 (permalink)  
Old 02-06-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Stumble this Post!
.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.
Reply With Quote
  #6 (permalink)  
Old 02-08-2007
Registered User
 

Join Date: Oct 2005
Posts: 135
Stumble this Post!
I guess installing unzip is not an option?
http://hpux.cs.utah.edu/hppd/hpux/Misc/unzip-5.52/
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0