LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-31-2006, 01:26 AM   #1
tofee
Member
 
Registered: Mar 2006
Posts: 41

Rep: Reputation: 15
When to use tar , gzip and tar+gzip ?


hi,

When should anyone use 1)only .tar ,
2)only gzip and
3)tar and gzip together ?

pls make it clear to me.

thanx in advance.
 
Old 03-31-2006, 01:29 AM   #2
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15
Hello,

Could you clarify your question please? Do you mean when to compress or extract?
 
Old 03-31-2006, 01:43 AM   #3
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
A simple answer would be to use

-- gzip: when it's a single file that should be compressed
-- tar : when you want to archive a bunch of files but need no compression or fast execution
-- tar.gz: archive bunch of files with intermediate compression (will take longer)
-- tar.bz2: archive bunch of files with good compression (takes even longer)
 
Old 03-31-2006, 05:59 AM   #4
tofee
Member
 
Registered: Mar 2006
Posts: 41

Original Poster
Rep: Reputation: 15
hi titopoquito ,

thanx a lot for making it clear to me.
 
Old 03-31-2006, 05:59 AM   #5
tofee
Member
 
Registered: Mar 2006
Posts: 41

Original Poster
Rep: Reputation: 15
hi vmlinuz.gz ,

yes now it's clear.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
tar and gzip - how do i point to a output directory RedHat123 Linux - Newbie 4 04-20-2011 10:48 AM
tar and gzip c0c0deuz Linux - General 2 10-31-2002 03:04 PM
gzip-1.2.4.tar Install ljc Linux - General 3 01-20-2002 09:44 PM
dd, tar and gzip nabil Linux - General 3 01-18-2002 04:51 PM
Need Serious Help With Tar And Gzip!! Please! rootlinux Linux - General 2 12-16-2001 01:39 PM


All times are GMT -5. The time now is 10:49 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration