How do i uncompress a dump file using gzip?


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If you are using the regular command line gzip, then you would use:

gzip -d filename.gz

If this is a .tar.gz, .tar.Z, .tgz or .taz file, then you should use tar instead.  The tar syntax is:

tar -xvf filename.tar.gz

I hope this helps.  If not, what OS are you using, and what is the full extension of the file?

- Will
crishna1Author Commented:
i am in the dos prompt and typed "gzip -d filename.gz" ..gave me an error , gzip is not recognizes internal/external error.

install winrar
you can get it at www.rarlab.com
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Make sure its location is in the path environmental variable
Darrell PorterEnterprise Business Process ArchitectCommented:
Are you on a Windows box or a Linux box or some other OS?
My suggestion assumed that you already had the command line version of gzip.  It appears that you don't have it, or that it is not in your path.  You can get it at one of the links listed above.  I will assume that you are running a DOS prompt from within Windows.  Personally, I like the open source 7-Zip pretty well if you want a GUI-based program (http://www.7-zip.org/).  It's easier to use for many applications.  Also, I think freeware ZipCentral handles those, and it behaves more like WinZip.  WinZip handles about everything, if you want to purchase a utility.  Another nice thing about the GUI based tools is that they automatically pick the right extraction method, so you don't have to have tar and gzip.

If you have already installed gzip, then you may need to specify the path to gzip before running it.  For example:

c:\mytools\gzip c:\downloads\somegzipfile.gz

- Will

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Hi crishna1 :-),
Since this question is starting to get old could you please give us an update on the status of this question?
See:  http://www.experts-exchange.com/help.jsp#hi51 Thank you, turn123's friendly update request script.
Offtopic comments about this script to http://www.experts-exchange.com/Applications/Q_21188389.html please :-).
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.