How to Unzip a .ZIP file in Unix without using unzip cmd..????? | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

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

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-02-2007
sureshg_sampat sureshg_sampat is offline
Registered User
 
Join Date: Nov 2006
Last Activity: 28 July 2013, 1:34 PM EDT
Location: Pune, India
Posts: 71
Thanks: 0
Thanked 1 Time in 1 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
Sponsored Links
    #2  
Old 02-02-2007
djp djp is offline
Registered User
 
Join Date: Apr 2005
Last Activity: 14 March 2013, 11:34 AM EDT
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
If you have gzip on your system you can use:

gunzip -S .ZIP filename.ZIP

But it will not extract the file, it will unzip it. No idea what you're going to get if you have multiple files in the ZIP file...
Sponsored Links
    #3  
Old 02-05-2007
sureshg_sampat sureshg_sampat is offline
Registered User
 
Join Date: Nov 2006
Last Activity: 28 July 2013, 1:34 PM EDT
Location: Pune, India
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Guys

The gunzip cmd is also not working here
Cud any body helpme out with some other cmd


Thanks
Suresh
    #4  
Old 02-05-2007
tayyabq8's Avatar
tayyabq8 tayyabq8 is offline Forum Advisor  
Ex-Moderator
 
Join Date: Nov 2004
Last Activity: 16 December 2013, 12:55 AM EST
Location: Bahrain
Posts: 592
Thanks: 3
Thanked 8 Times in 3 Posts
Duplicate post, has been answered here How to Unzip a .ZIP file in Unix without using unzip cmd..????? already. sureshg_sampat, please post in the same earlier thread which you have posted if you still have any further query, i'll request mods to merges these threads.
Sponsored Links
    #5  
Old 08-27-2008
divzz's Avatar
divzz divzz is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 27 May 2013, 6:09 AM EDT
Location: Bangalore
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by djp View Post
If you have gzip on your system you can use:

gunzip -S .ZIP filename.ZIP

But it will not extract the file, it will unzip it. No idea what you're going to get if you have multiple files in the ZIP file...
Thanks a lot buddy, this command helped me. Keep up ur knowledge sharing
Sponsored Links
    #6  
Old 11-15-2008
swami.m swami.m is offline
Registered User
 
Join Date: Feb 2008
Last Activity: 29 November 2009, 12:24 PM EST
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
MySQL

The answer was very helpful !!!
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Unzip a file using unzip utility for files zipped without zip utility ? Sabari Nath S Shell Programming and Scripting 1 12-11-2009 05:18 PM
unzip .zip file in unix techmoris Shell Programming and Scripting 7 08-18-2009 04:49 PM
how to unzip 17GB .zip file on UNIX? chance04 UNIX for Advanced & Expert Users 2 01-22-2009 04:35 PM
Unzip windows file on Unix terala_s UNIX for Advanced & Expert Users 6 11-09-2007 08:55 AM
How to Unzip a .ZIP file in Unix without using unzip cmd..????? sureshg_sampat HP-UX 5 02-08-2007 09:01 AM



All times are GMT -4. The time now is 09:38 AM.