Operating System - HP-UX
1827385 Members
4025 Online
109963 Solutions
New Discussion

How to extract the httpd-2.2.6.tar.gz file in HP UX.

 
Viswanadhan
Regular Advisor

How to extract the httpd-2.2.6.tar.gz file in HP UX.

Hi Admins,

How to extract the httpd-2.2.6.tar.gz file in HP UX SERVER B.11.00 E 9000/802 1427623321 8-user license.

I donot see any command called gunzip,gzip, etc..

Anyone guide how to extract the httpd-2.2.6.tar.gz file.

Regards,
Viswa.
6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: How to extract the httpd-2.2.6.tar.gz file in HP UX.

By default it should be in
>whereis gunzip
gunzip: /usr/contrib/bin/gunzip

Have a look!

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Viswanadhan
Regular Advisor

Re: How to extract the httpd-2.2.6.tar.gz file in HP UX.

Hi Torson,

Thanks for help.

Regards,
Viswa.
Viswanadhan
Regular Advisor

Re: How to extract the httpd-2.2.6.tar.gz file in HP UX.

NA
Andrew Merritt_2
Honored Contributor

Re: How to extract the httpd-2.2.6.tar.gz file in HP UX.

Also, the best way to view the contents would be to use the '-c' option to gunzip.


gunzip -c httpd-2.2.6.tar.gz | tar tvf -

and to unpack would be:

gunzip -c httpd-2.2.6.tar.gz | tar xvf -


That way, you don't need to allocate space on the disk to hold the gunzipped tar file.

Andrew
Sachin Rajput
Advisor

Re: How to extract the httpd-2.2.6.tar.gz file in HP UX.

HI Viswa,

You can also use
tar -zxvf httpd-2.2.6.tar.gz to extract the contents of this file.



Sachin Rajput
================
Dennis Handly
Acclaimed Contributor

Re: How to extract the httpd-2.2.6.tar.gz file in HP UX.

>Sachin: You can also use tar -zxvf

tar -z only works with gtar, not HP-UX's tar.