What have you tried?
Are you looking at compressing individual files or a group of files?
Given a text file test.sh with a file size of 237 bytes:
gzip produces a file test.sh.gz of 188 bytes
bzip2 produces a file test.sh.bz2 of 207 bytes
Both zip and tar produce files that were larger than the original!
The results that you get may be different than mine, depending on the type and size of file that you want to compress.
|