LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-28-2004, 11:50 PM   #1
imsajjadali
Member
 
Registered: Jan 2004
Location: Faisalabad-Pakistan
Distribution: Red Hat Linux 2.1 Advance Server
Posts: 102

Rep: Reputation: 15
untar


I have ziped folders with the following command
tar cvzf backup.tar.gz /home/mj
how can I unzip it...thanks in advance
 
Old 01-29-2004, 12:27 AM   #2
computergeek84
Member
 
Registered: Nov 2003
Location: /dev/null
Distribution: Gentoo, Ubuntu
Posts: 61

Rep: Reputation: 15
Try:

tar -zxvf backup.tar.gz

(the 'x' is for extract, where you used 'c' for create...)
 
Old 01-29-2004, 12:46 AM   #3
imsajjadali
Member
 
Registered: Jan 2004
Location: Faisalabad-Pakistan
Distribution: Red Hat Linux 2.1 Advance Server
Posts: 102

Original Poster
Rep: Reputation: 15
I have used this command, it showed me the files are extracted...but no file extract in related directory.
 
Old 01-29-2004, 01:47 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Check the size of the actual archive. Ie the filesize of backup.tar.gz.
 
  


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
'untar'? stevesk Linux - Newbie 11 12-20-2004 06:50 PM
Untar Dharma_bum07 Linux - Newbie 2 11-26-2004 10:16 AM
how to untar a .bz2? mjl3434 Linux - Software 3 09-09-2004 10:58 AM
can't untar... spotass Linux - Newbie 4 05-29-2004 12:41 PM
Untar to a directory john8675309 Linux - Software 2 03-14-2004 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:22 AM.

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