best method to compress files in aix 5.3

Good morning,

I have a file that is 200 MB and I want to compress it to the fullest, which is the best method or command to compress files in aix?

Thank you very much and best regards.

you can use gzip

bzip2 will achieve better compression than gzip...

A quick benchmark of gzip vs bzip2

A Quick Benchmark: Gzip vs. Bzip2 vs. LZMA

1 Like

Anyone can send an example of how compressed using bzip2 on aix 5.3?

Thank you very much and best regards.

 
man bzip2
 
bzip2 filename

bzip2 command is available in AIX 5.3, I have no choice to compress a file to the maximum in aix 5.3

Thank you very much and best regards.

AIX also has the compress command. Not sure if it is better. Here is a link:
pSeries and AIX Information Center

The compress command is very old, subject to certain pitfalls -- if a file doesn't compress well, it may actually end up larger -- and has been pretty much outstripped by more modern compressors.