The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 5 11-15-2008 04:44 AM
Unzip windows file on Unix terala_s UNIX for Advanced & Expert Users 6 11-09-2007 09:55 AM
How to unzip a .zip file when yogesh_powar UNIX for Advanced & Expert Users 2 06-30-2006 02:40 AM
how can perform zip or unzip at unix console lmraochodisetti UNIX for Dummies Questions & Answers 2 06-23-2006 01:44 PM
unzip a zip file xNYx UNIX for Dummies Questions & Answers 4 03-20-2002 09:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-02-2007
sureshg_sampat sureshg_sampat is offline
Registered User
  
 

Join Date: Nov 2006
Location: Czech Republic
Posts: 49
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 (permalink)  
Old 02-03-2007
tayyabq8's Avatar
tayyabq8 tayyabq8 is offline Forum Advisor  
Moderator
  
 

Join Date: Nov 2004
Location: Bahrain
Posts: 579
If java is installed, try using:
Code:
jar xvf sample.zip
Or one other way is to install unzip at your machine.
  #3 (permalink)  
Old 02-04-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
Alternatively create a TAR file on your windows box. Cygwin etc will help.
  #4 (permalink)  
Old 02-06-2007
pmoren pmoren is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 32
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 (permalink)  
Old 02-06-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
.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 (permalink)  
Old 02-08-2007
mr_manny mr_manny is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 144
I guess installing unzip is not an option?
http://hpux.cs.utah.edu/hppd/hpux/Misc/unzip-5.52/
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0