gzip and bzip2 Flashcards
Compressing seldom used files…?
saves disk space.
The most commonly used compression command is…?
gzip.
The bzip2 command is newer, and provides the …?
most efficient compression.
Files that are not used very often are often…?
compressed
Large files are also compressed before…?
transferring to other systems or users. The advantages of saved space and bandwidth usually outweighs the added time it takes to compress and uncompress files.
Text files often have patterns that can be compressed up to…?
75%. But binary files rarely compress more than 25%. In fact, it is even possible for a compressed binary file to be larger than the original file!
.The gzip command is the most versatile and most commonly used decompression utility. Files compressed with gzip are uncompressed with….?
gunzip.
gzip switches:
-c
Effect: ???
Redirect Output to stdout.
gzip switches:
-d
Effect: ???
Decompress instead of compress file
gzip switches:
-r
Effect: ???
Recurse through subdirectories, compressing individual files.
gzip switches:
-1 …-9
Effect: ???
Specify trade off between CPU intensity and compression efficiency.
The bzip2 command is a relative newcomer, which tends to produce the most compact compressed files, but is..?
the most CPU intensive.
Files compressed with bzip2 are uncompressed with…?
bunzip2.
bzip2 switches:
-c
Effect: ???
Redirect Output to stdout.
bzip switches:
-d
Effect: ???
Decompress instead of compress file.