- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compress & Uncompress commands ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 12:02 AM
07-09-2002 12:02 AM
Compress & Uncompress commands ...
I am looking at the various, compress and uncompress commands available in HP-Ux.
And the difference between them?
How much % "COMPRESS" command compresses a file?
I down loaded a "Oraclesoftware" compressed file, in the following form
"hpux_ipf_90101.cpio.gz "
first I downloaded the above file to DOS, and then FTPed it to Unix in binary mode.
but in Unix when I tried to use gunzip
How should I unzip the above file.
Please ...
Regards
Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 12:15 AM
07-09-2002 12:15 AM
Re: Compress & Uncompress commands ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 12:31 AM
07-09-2002 12:31 AM
Re: Compress & Uncompress commands ...
From experience with compress/gzip, I would say that there's very little difference in actual compression rates between the two (I've rarely seen a difference of more than a few dozen bytes on 1MB files).
gzip is capable of handling files created by compress, zip and pack, and has the added benefit of being able to carry out some error checking on the .Z files (which compress/uncompress do not do).
Another possibility for the corrupt gzip file is that the original download terminated abnormally, leaving you with an incomplete file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 12:36 AM
07-09-2002 12:36 AM
Re: Compress & Uncompress commands ...
Try downloading again.
do a gunzip on them
#/usr/contrib/bin/gunzip "file-name"
#cpio -icvmd < "filename.cpio"
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 12:39 AM
07-09-2002 12:39 AM
Re: Compress & Uncompress commands ...
http://sources.redhat.com/bzip2/
It is slightly better than gzip,
which is better than compress
which is better than pack and compact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 01:06 AM
07-09-2002 01:06 AM
Re: Compress & Uncompress commands ...
when I copied back from pc to unix, using ftp.
I set the mode in ftp as "bi".
The transfer of file was ok. but when I try ti gunzip the the same file. it says not in gzip format.
should I down the file again?
or ...
please ..
Regards
Shah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 01:16 AM
07-09-2002 01:16 AM
Re: Compress & Uncompress commands ...
yes you have to download the file again.
If you use utilities like download accelerator to download the file quickly.
Oracle downloads are bigger in size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 05:20 AM
07-09-2002 05:20 AM
Re: Compress & Uncompress commands ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 06:51 AM
07-09-2002 06:51 AM
Re: Compress & Uncompress commands ...
Can you run the following command in the unix system and post the output of that?.
#file hpux_ipf_90101.cpio.gz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 07:30 AM
07-09-2002 07:30 AM
Re: Compress & Uncompress commands ...
gzip by far give you better compression than compress.
As far as unzipping the file, as stated above, I believe the problem lies in the download. Try downloading the file again. You can check the download on the pc. Winzip should be able to open the file. If Winzip can't, the file was not downloaded correctly.
Hope this helps,
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2002 08:12 AM
07-09-2002 08:12 AM
Re: Compress & Uncompress commands ...
Also on the unix boes do a cksum. The check sums should be the same. If not, there is a problem with the transfer.
HTH
Marty