Hello Admins;
Anybody can suggest on how to open ".z" files on solaris.
Thanks
Hello Admins;
Anybody can suggest on how to open ".z" files on solaris.
Thanks
try using uncompress
For UNIX or linux, use : uncompress
For windows, dwld and use : picozip
When I used uncompress; i got an error below:
bash-3.00# uncompress SolutionsEnabler_Solaris.z
SolutionsEnabler_Solaris.z.Z: No such file or directory
Any workaround on this?
try and put the file name without the .z at the end
# uncompress filename
from the error message it looks like its appending a capital .Z automatically, as a result it can't find the file.
also if your file has a lower case .z maybe you should rename it with a upper case .Z first
let me know if that works.
If this doesn't work, you might have a look at
file SolutionsEnabler_Solaris.z
output.
No Luck...
bash-3.00# uncompress SolutionsEnabler_Solaris
SolutionsEnabler_Solaris.Z: No such file or directory
code: file SolutionsEnabler_Solaris.z
SolutionsEnabler_Solaris.z: compressed data block compressed 16 bits
but did you rename the file with a upper case .Z at the end like I suggested ?
# mv filename.z filename.Z
# uncompress filename
unpack SolutionsEnabler_Solaris.z
Here it is :
bash-3.00# mv SolutionsEnabler_Solaris.z SolutionsEnabler_Solaris.Z
bash-3.00# uncompress SolutionsEnabler_Solaris.Z
uncompress: SolutionsEnabler_Solaris.Z: corrupt input
As per Vgersh;
bash-3.00# unpack SolutionsEnabler_Solaris.z
unpack: SolutionsEnabler_Solaris.z: not in packed format
try 'gunzip' (if you have it installed.
Usually the '.z' extension means the file has been compressed with 'pack':
'man pack' yields:
pack
The pack command attempts to store the specified files in a
compressed form. Wherever possible (and useful), each input
file file is replaced by a packed file file.z with the same
access modes, access and modified dates, and owner as those
of file. If pack is successful, file will be removed.
What is the output of
file SolutionsEnabler_Solaris.z
Tried:
bash-3.00# file SolutionsEnabler_Solaris.z
SolutionsEnabler_Solaris.z: compressed data block compressed 16 bits
bash-3.00# gzip SolutionsEnabler_Solaris.z
gzip: SolutionsEnabler_Solaris.z already has .z suffix -- unchanged
sorry, I meant 'gunzip' (not gzip).
OK...here it is...
bash-3.00# gunzip SolutionsEnabler_Solaris.z
gunzip: SolutionsEnabler_Solaris.z: corrupt input. Use zcat to recover some data
and when I used zcat,
bash-3.00# zcat SolutionsEnabler_Solaris.z
SolutionsEnabler_Solaris.z.Z: No such file or directory
That would be
zcat < SolutionsEnabler_Solaris.z > SolutionsEnabler_Solaris
but as your file looks corrupted, there is not that much you can do.
Yes..It looks corrupted....
Thanks all admins..for your responses....