LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-01-2003, 07:09 AM   #1
Nern
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 2

Rep: Reputation: 0
Extracting From Console


Im very new to linux and i was just wondering how i can extract a file to a directory from the console. Such as what command would i type in . Thanks in advance and please dont laugh at me.
 
Old 10-01-2003, 07:20 AM   #2
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 31
If you have a *.tar archive, you use $ tar xvf *.tar (the '$' is not part of the command, it just shows that you should type this in the command line, the '*' is the name of your archive)
*.tar files aren't compressed really, they are just some files packeged into one
If you have a *.tar.gz, you should use $ tar xzvf *.tar.gz
*.tar.gz archives are compressed with gzip
If you have a *.tar.bz2 you should first do $ bunzip2 *.tar.bz2
Then you will have a *.tar file, which one can be untar'ed via $ tar xvf *.tar
*.tar.bz2 are compressed with bunzip2

I hope I helped.
 
Old 10-01-2003, 07:30 AM   #3
Nern
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandrake 9.1
Posts: 2

Original Poster
Rep: Reputation: 0
yes it did and thank you very much.
 
  


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
Extracting terminal/console information Woodsman Slackware 6 11-12-2005 12:34 PM
extracting ISOs reksav Linux - General 1 06-12-2005 10:54 PM
How to Run Win32 Console App in linux Console Lokie Linux - Software 2 08-12-2004 10:00 PM
Extracting tar.bz2 archive through console grim_chel Linux - Newbie 3 06-28-2004 11:27 AM
X server in console 1 crashes on return from console 2 fieldmethods Red Hat 4 09-05-2003 12:12 AM

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

All times are GMT -5. The time now is 11:59 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