Solved

How to uncompress and untar a file in one command.

Posted on 2011-09-28
3
431 Views
Last Modified: 2013-11-17
How do I uncompress and untar a file below in one command?

filename.tar.Z

Thanks
0
Comment
Question by:AIX25
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
Comment Utility
That's not possible with AIX tar.
Get GNU tar from perzl.org and use its "-z" flag,

wmp
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
OK, not one command, but doesn't require GNU tar


uncompress -c filename.tar.Z | tar xvf -

Open in new window

0
 

Author Comment

by:AIX25
Comment Utility
Thank you Tintin for that comment.

Tintin and Woolmilkporc, please look at question "ID: 27344252 "..

Thank you
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now