LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-20-2002, 09:32 AM   #1
lintadsl
LQ Newbie
 
Registered: Oct 2002
Posts: 25

Rep: Reputation: 15
Unzip?


Any one knows how to unzip/extract a zip file in Redhat box?
This zip file must be zipped in Windows system but I could not unzip it. I used gunzip to decompres but it did not work so I ended up this borad. lol
Please advice me on this issue...

Thanks in advance.
Lint
 
Old 11-20-2002, 09:42 AM   #2
Calum
Member
 
Registered: Mar 2002
Location: London
Distribution: Red Hat 9
Posts: 302

Rep: Reputation: 30
you should be able to just use 'unzip filename'.
do 'man unzip' or 'man zip' (i forget which) for more info.
 
Old 11-20-2002, 10:05 AM   #3
lintadsl
LQ Newbie
 
Registered: Oct 2002
Posts: 25

Original Poster
Rep: Reputation: 15
unzip filename would not work. Do i need to install some kind of unzip package?
Thanks,
 
Old 11-20-2002, 09:16 PM   #4
chrismiceli
Member
 
Registered: Aug 2002
Posts: 349

Rep: Reputation: 30
using default redhat and this is what i get when i type unzip, something similar when i try zip.

[root@localhost root]# unzip
UnZip 5.50 of 17 February 2002, by Info-ZIP. Maintained by C. Spieler. Send
bug reports to the authors at Zip-Bugs@lists.wku.edu; see README for details.

Usage: unzip [-Z] [-opts[modifiers]] file[.zip][list] [-x xlist] [-d exdir]
Default action is to extract files in list, except those in xlist, to exdir;
file[.zip] may be a wildcard. -Z => ZipInfo mode ("unzip -Z" for usage).

-p extract files to pipe, no messages -l list files (short format)
-f freshen existing files, create none -t test compressed archive data
-u update files, create if necessary -z display archive comment
-x exclude files that follow (in xlist) -d extract files into exdir

modifiers: -q quiet mode (-qq => quieter)
-n never overwrite existing files -a auto-convert any text files
-o overwrite files WITHOUT prompting -aa treat ALL files as text
-j junk paths (do not make directories) -v be verbose/print version info
-C match filenames case-insensitively -L make (some) names lowercase
-X restore UID/GID info -V retain VMS version numbers
-M pipe through "more" page
 
Old 11-21-2002, 01:45 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611

Rep: Reputation: 61
When you say "did not work" what happen? Did it say:
"Sorry dude, but you are going to have to do something else, as I don't really think that'll work right"?

Or what? What I mean is, what was your "error message"?

Cool
 
Old 12-01-2002, 01:55 PM   #6
lintadsl
LQ Newbie
 
Registered: Oct 2002
Posts: 25

Original Poster
Rep: Reputation: 15
Got it works. Thanks for you all who took a time to post advice me on this issue. I need to install unzip RPM, and it works just fine.

Have a nice day.
Lint
 
Old 12-01-2002, 04:17 PM   #7
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Ok, first post I read that really deservs RTFM....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to unzip arimus25 Linux - Software 6 11-14-2011 04:46 AM
unzip Jeebizz Slackware 5 08-28-2005 04:07 AM
how do you unzip something slacker2007 Linux - Newbie 2 08-01-2004 11:19 AM
Unzip PhuckFonix Linux - Newbie 1 05-30-2004 08:10 PM
unzip thanko Linux - Software 13 05-02-2003 05:16 AM


All times are GMT -5. The time now is 07:39 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration