Web Hosting Talk







View Full Version : Decompress


mithilesh
11-17-2001, 08:32 PM
How can I decompress the file with extension .sh.gz(e.g abc.sh.gz).

node9
11-17-2001, 10:17 PM
gunzip abc.sh.gz

mithilesh
11-17-2001, 10:28 PM
It didn't work and give error "invalid file format".And When I used the gunzip -d then it again shows same error.

node9
11-18-2001, 05:06 AM
tar -xvf blah.sh.gz ?
try ??
i dunno

ambirex
11-18-2001, 05:56 PM
try:
yourshell$ file abc.sh.gz

it may have been renamed.

T_E_O
11-19-2001, 07:10 AM
You might wanna try 'gzip -d filename.sh.gz'
The .sh means it is a shell script, so after gzip -d'ing it, you probably need to issua a command like ./filename.sh

Good luck!

muppie
11-19-2001, 08:48 AM
There's also a possibility that your file is corrupted

mithilesh
11-19-2001, 12:17 PM
Thanks for your response .Finally I resolve this problem by renaming this file.
:rolleyes: