Last Updated on February 20, 2020 by Admin
Introduction to Linux I Chapter 12 Exam Answer
-
Question ID 503
Which archiving method is compatible across Linux, Microsoft Windows and Mac operating systems?
- cpio
- dd
- zip
- tar
-
Question ID 504
Which option to the zip command can be used to recursively compress multiple directories?
- -r
- -R
- -l
- -d
-
Question ID 505
Which option to the zip command will list its files without uncompressing them?
- -R
- -l
- -c
- -F
-
Question ID 506
The unzip command can be used without options to extract files from a zip archive.
True or False?
- True
- False
-
Question ID 509
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
-
Question ID 510
Which option to the unzip command can be used to estimate the size of an archive when it is decompressed?
- -l
- -c
- -R
- -F
-
Question ID 511
It is not possible to recursively compress files within directories with gzip.
True or False?
- True
- False
-
Question ID 512
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
-
Question ID 513
gzip and bzip are aliases for the same utility.
True or False?
- True
- False
-
Question ID 514
bzip2 archives are typically indicated with which file extension?
- .bz
- .bz2
- .b2
- .gz
-
Question ID 515
Which option to the bzip2 command can be used to report the compression ratio of an archive?
- -l
- -R
- -v
- -c
-
Question ID 516
Which option to the bzip2 command can be used for recursive compression?
- -v
- bzip2 doesn’t support recursive compression
- -c
- -R
-
Question ID 517
gzip and bzip2 use the same compression algorithm.
True or False?
- True
- False
-
Question ID 518
Which of the following functions is not a primary use of the tar command:
- Extract archives
- View archives
- Create archives
- Repair corrupted archives
-
Question ID 519
The tar command supports which of the following styles of option(s)?
(choose three)
- DOS
- GNU
- BSD
- Unix
-
Question ID 520
The tar command supports:
- gzip compression only
- bzip compression only
- Both gzip and bzip2 compression
- only uncompressed archives
-
Question ID 521
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
-
Question ID 522
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.
-
Question ID 523
The cpio command has four modes of operation.
True or False?
- True
- False
-
Question ID 524
Which of the following options puts the cpio command in copy-out mode?
- -v
- -u
- -o
- -i
-
Question ID 525
Which of the following options puts the cpio command into copy-in mode?
- -i
- -u
- -o
- -v
-
Question ID 526
Which of the following options allows the cpio command to overwrite existing files?
- -u
- -v
- -o
- -i
-
Question ID 527
The cpio command will preserve metadata when copying files.
True or False?
- True
- False
-
Question ID 528
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
-
Question ID 529
The dd command can be used to create iso files.
True or False?
- True
- False
-
Question ID 530
The dd command can be used to create large files the can be used as swap files.
True or False?
- True
- False
-
Question ID 531
The dd command can be used to copy entire partitions.
True or False?
- True
- False
-
Question ID 532
Which of the following is not a valid argument for the dd command?
- count
- in
- if
- bs
- of