Introduction to Linux - Chapter 12

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which option to the gzip command can be used to retain the uncompressed files when creating an archive? -R -F No option needed, gzip does this by default -c

-c

Which of the following options puts the cpio command into copy-in mode? -i -u -o -v

-i

Which option to the unzip command can be used to estimate the size of an archive when it is decompressed? -l -c -R -F

-l

Which option to the zip command will list its files without uncompressing them? -R -l -c -F

-l

Which of the following options puts the cpio command in copy-out mode? -v -u -o -i

-o

Which option to the zip command can be used to recursively compress multiple directories? -r -R -l -d

-r

Which of the following options allows the cpio command to overwrite existing files? -u -v -o -i

-u

Which option to the bzip2 command can be used to report the compression ratio of an archive? -l -R -v -c

-v

bzip2 archives are typically indicated with which file extension? .bz .bz2 .b2 .gz

.bz2

The tar command supports: gzip compression only bzip compression only Both gzip and bzip2 compression only uncompressed archives

Both gzip and bzip2 compression

It is not possible to recursively compress files within directories with gzip. True or False? True False

False

The cpio command has four modes of operation. True or False? True False

False

gzip and bzip are aliases for the same utility. True or False? True False

False

gzip and bzip2 use the same compression algorithm. True or False? True False

False

The tar command supports which of the following styles of option(s)? (choose three) DOS GNU BSD Unix

GNU , BSD , Unix

Which of the following functions is not a primary use of the tar command: Extract archives View archives Create archives Repair corrupted archives

Repair corrupted archives

The cpio command will preserve metadata when copying files. True or False? True False

True

The dd command can be used to copy entire partitions. True or False? True False

True

The dd command can be used to create iso files. True or False? True False

True

The dd command can be used to create large files the can be used as swap files. True or False? True False

True

The unzip command can be used without options to extract files from a zip archive. True or False? True False

True

Which option to the bzip2 command can be used for recursive compression? -v bzip2 doesn't support recursive compression -c -R

bzip2 doesn't support recursive compression

To decompress the archive example.gz, use the following command: gunzip example.gz gunzip -x example.gz gzip -u example.gz gzip -x example.gz

gunzip example.gz

Which of the following is not a valid argument for the dd command? count in if bs of

in

When copying entire devices using the dd command, you must specify: block size and count only input file and output file only input file, output file, and block count input file, output file, block size and count

input file and output file only

By default, tar will attempt to extract an archive... into the working directory. to the specified directory. into the archive's parent directory. into the user's home directory.

into the working directory.

Which of the following commands could be used to extract the archive, example.tar? tar -uz example.tar tar -xz example.tar tar -xf example.tar tar -uf example.tar

tar -xf example.tar

Which archiving method is compatible across Linux, Microsoft Windows and Mac operating systems? cpio dd zip tar

zip


Ensembles d'études connexes

Ch 13: Nutrition for Health and Disease in Adults

View Set

Chapter 5 (Environmental Geology)

View Set

Electric Potential Energy and Electric Potential

View Set

Econ 251 (PNW) Chapter 1 Learnsmart

View Set

LAW 231 PHILIPS Exam 1 (quizzes and hw)

View Set

Chapter 15: Assessing Head and Neck

View Set

10.5 The Job of Production Managers

View Set