Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-11-2006, 07:45 AM   #1
Registered: Dec 2004
Location: BIJAPUR
Posts: 86

Rep: Reputation: 15
to compress a file or folder


I need to compress (zip) the files or folder
in both Linux & win2k(dos), pl tell me the command with Example

Thanks in advance
Old 04-11-2006, 08:28 AM   #2
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,414
Blog Entries: 1

Rep: Reputation: 65
Use the command zip. "zip zipfile src tmp" will create the file "" with contents of dirs src and tmp.
This zip file can be read on WinXP machines without any additional software.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux file compress syok Slackware 4 02-14-2006 06:01 PM
Compress and split a big sized file into smaller files hicham007 Programming 3 07-28-2005 08:56 PM
File and folder permissions steve007 Linux - Newbie 3 06-30-2005 03:48 AM
How to compress a folder deWin Linux - Newbie 3 11-11-2004 10:00 PM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:41 PM.

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