LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2004, 02:24 PM   #1
Astropicachu
Member
 
Registered: May 2003
Location: London U.K.
Distribution: dual b. XP Pro and Mandrake 10
Posts: 75

Rep: Reputation: 15
What's the equivalent of ZIP in linux?


Hi to all,
What is the ZIP tool in linux? Can I install ZIP in linux? Is there a linux equivalent of it? Does it work with ZIP files? Is it compatible with it?
Thanks a million...
 
Old 01-22-2004, 02:30 PM   #2
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
There is a zip command in linux. Not sure if it works the same as on Windoze, but it is there. 'tar' and 'gzip' are more commonly used on linux platforms. In fact, these two can be used together from a single command.

Code:
tar -cvzf new_archive_name.tgz /file/or/directory/to/include
that command will create a new compressed tar file. Of course you can use the two command separately if you want to.
 
Old 01-22-2004, 02:30 PM   #3
objorkum
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231

Rep: Reputation: 30
Linux use for the most tar (.tar.gz files). These can be extracted with tar -zxvf filename.tar.gz

or for .tar.bz2 files: tar -jxvf filename.tar.bz2

For ZIP-files: unzip -p filename.zip

Most distros comes with the unzip tool.
 
Old 01-22-2004, 04:44 PM   #4
Snodge
LQ Newbie
 
Registered: Dec 2003
Posts: 6

Rep: Reputation: 0
Both gnome and kde have graphical tools that can open tar, tgz, tar.gz, bz2 files etc - usually all you have to do is use the graphical file manager and double-click on them. Otherwise, it's a case of using the command line...
 
Old 01-22-2004, 04:50 PM   #5
Astropicachu
Member
 
Registered: May 2003
Location: London U.K.
Distribution: dual b. XP Pro and Mandrake 10
Posts: 75

Original Poster
Rep: Reputation: 15
I definitely need to get on with the CL. Thanx guys
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux OnSpeed equivalent jakebhoy Linux - Software 1 09-07-2005 08:07 AM
What's the Linux-equivalent of MS scandisk? johnMG Debian 4 12-22-2004 07:27 PM
create a self-extracting zip file with zip on solaris? samsolaris Solaris / OpenSolaris 3 10-15-2004 01:50 AM
What is the Linux equivalent of ADaware? studpenguin Linux - Newbie 4 03-28-2004 03:27 PM
Linux Scandisk equivalent. xode Linux - Software 7 11-06-2003 06:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration