LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 03-16-2013, 11:57 AM   #1
gaugeta
LQ Newbie
 
Registered: Jan 2013
Posts: 7

Rep: Reputation: Disabled
How to undo a tar


Recently while trying to install a tar file I tried something like the foll command:
tar cvf apache-ant-1.9.0-bin.tar.gz /opt

Now I have all the file space allocated to /opt directory completely filled up.

How can I untar or free my space.
 
Old 03-16-2013, 12:39 PM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,029

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
You can move the files to where there is more space or just delete the files, to move the files use the command mv, to delete use the command rm.

Regards
 
Old 03-16-2013, 02:37 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 13,231

Rep: Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774Reputation: 1774
if you have a desktop GUI installed ( Gnome2,KDE4,xfce,lxde,...)
just r-click it ( just the same way you do on a windows or apple computer)
and extract the archive from the options on the "r-click" menu

if this is a TEXT ONLY install - no graphics - terminal only ( NO graphics -- as in you can not use firefox ) , or a text only login to a remote machine

that file is a tar.gz
a "g" zipped TAR archive -- "gz"
-- very basic commands --
Code:
gzip -d apache-ant-1.9.0-bin.tar.gz
tar -x apache-ant-1.9.0-bin.tar
for more options read
Code:
gzip --help
--- and ---
man gzip
-- and --
tar --help
--- and ---
man tar

Last edited by John VV; 03-17-2013 at 04:21 AM.
 
1 members found this post helpful.
Old 03-17-2013, 01:42 AM   #4
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 1,883

Rep: Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520Reputation: 520
Undoing tar is not possible, but deleting the files is quite possible.
 
  


Reply

Tags
aix


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
[SOLVED] tar -tf down.tar.How to avoid listing subfolders is down.tar e3399 Linux - Newbie 2 11-25-2010 10:28 PM
"Invalid tar magic" error msg. when I try to tar ldmud *.tar file in DSL pixxi451 Linux - Newbie 4 07-04-2010 09:32 AM
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 10 02-23-2008 06:40 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM


All times are GMT -5. The time now is 08:58 AM.

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