The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
extract one file form .tar.gz without uncompressing .tar.gz file balireddy_77 Shell Programming and Scripting 2 07-10-2007 01:23 AM
uncompressing a .gz file sveera SUN Solaris 2 06-02-2005 05:32 AM
problem uncompressing tar.gz files webtekie UNIX for Dummies Questions & Answers 14 02-07-2005 03:00 AM
Uncompressing a Linux file on HP-UX jyotipg High Level Programming 2 10-08-2001 10:26 PM
uncompressing .tz files jaws UNIX for Dummies Questions & Answers 3 08-01-2001 04:27 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-28-2006
Registered User
 

Join Date: Jun 2006
Posts: 55
uncompressing file

Hi,
how do u uncompress a .Z file?

i have a file called software.all.Z and have to change it to software.all. how to do that?

thanks!

karthik
Reply With Quote
Forum Sponsor
  #2  
Old 06-28-2006
Registered User
 

Join Date: Jun 2006
Posts: 55
uncompressing .Z file

I find from website that its uncompress .Z

is that correct?
replies would be appreciated.
thanks!
Reply With Quote
  #3  
Old 06-28-2006
Registered User
 

Join Date: Apr 2006
Posts: 26
a few pointers;

use the 'file' command to determine what type of file you're dealing with. This doesn't just work for compressed files, this works for all files. It's useful because a file extension can be anything, you can call things what you want. The 'file' command examines the actual contents of the file and returns a guess at the contents by matching it up with a database of 'fingerprints' (/etc/magic) See below

# file passwd.Z
passwd.Z: compressed data block compressed 16 bit

In this example I've used the file command to determine that the file 'passwd.Z' is a compressed file made using the UNIX 'compress' command.

And yes, you're right, you uncompress these files using the command 'uncompress' - but you have to tell it the exact file you want to uncompress! So in your case you want to use 'uncompress software.all.Z'

Hope this helps!

Also - I'm not meaning to be condescending, but your command line skills are a little lacking. I wouldn't normally be this horrible, but as most AIX boxes are used in corporate environments i fee i should. If you're doing this stuff at work on a production system then be damn sure you either know what you're doing or have the sign-off from a direct superior, messing around on the command line is an excellent wasy to lose your job!
Reply With Quote
  #4  
Old 06-28-2006
Registered User
 

Join Date: Jun 2006
Posts: 55
uncompressing .Z file

Alex: thanks for ur advice. its very well taken.
I was just testing doing aix at home and not in production env.
Iam still a novice and trying to learn at my pace.
Thanks very much
karthik
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0