LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 10: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, 11:39 AM   #2
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
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, 01:37 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 03:21 AM.
 
1 members found this post helpful.
Old 03-17-2013, 12:42 AM   #4
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,864
Blog Entries: 1

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


Reply

Tags
aix



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

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 11:34 PM.

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
Open Source Consulting | Domain Registration