gzip and bzip2 Flashcards

1
Q

Compressing seldom used files…?

A

saves disk space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The most commonly used compression command is…?

A

gzip.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The bzip2 command is newer, and provides the …?

A

most efficient compression.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Files that are not used very often are often…?

A

compressed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Large files are also compressed before…?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Text files often have patterns that can be compressed up to…?

A

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!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

.The gzip command is the most versatile and most commonly used decompression utility. Files compressed with gzip are uncompressed with….?

A

gunzip.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

gzip switches:
-c
Effect: ???

A

Redirect Output to stdout.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

gzip switches:
-d
Effect: ???

A

Decompress instead of compress file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

gzip switches:
-r
Effect: ???

A

Recurse through subdirectories, compressing individual files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

gzip switches:
-1 …-9
Effect: ???

A

Specify trade off between CPU intensity and compression efficiency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The bzip2 command is a relative newcomer, which tends to produce the most compact compressed files, but is..?

A

the most CPU intensive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Files compressed with bzip2 are uncompressed with…?

A

bunzip2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

bzip2 switches:
-c
Effect: ???

A

Redirect Output to stdout.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

bzip switches:
-d
Effect: ???

A

Decompress instead of compress file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Another compression utility available in Red Hat Enterprise Linux is zip. This utility is compatible with the DOS/Windows PKzip/Winzip utilities and can..?

A

compress more than one file into a single file, something that gzip and bzip2 cannot do.

Linux and Unix users often prefer instead to use tar and gzip together in preference to zip.