Download Solution: Click to Download Solution
Solution File Name: Ch12.doc
Unzip Password: prestobear.com
Chapter 12 Solutions
Review Questions
1. Most source code is available on the Internet in tarball format. True or False?
2. Which dump level indicates a full backup?
a. 0
b. 9
c. 1
d. f
3. Which filename extension indicates a tarball?
a. .tar.gz
b. .cpio
c. .dump
d. .tar
4. Files that have been compressed using the compress utility typically have the ______ extension.
a. .tar.gz
b. .gz
c. .Z
d. .bz2
5. The bzip2 and gzip utilities use similar compression algorithms. True or False?
6. When compiling source code into a binary program, which command does the compiling using the GNU C Compiler?
a. tar
b. ./configure
c. make
d. make install
7. The -9 option to the gzip utility results in a higher compression ratio. True or False?
8. You have created a full backup and four incremental backups. In which order must you restore these backups?
a. 0, 1, 2, 3, 4
b. 0, 4, 3, 2, 1
c. 4, 3, 2, 1, 0
d. 1, 2, 3, 4, 0
9. Which of the following commands extracts an archive?
a. cpio –vocBL /dev/fd0
b. cpio –vicdu –I /dev/fd0
c. cpio –vicdu –O /dev/fd0
d. cpio –vti –I /dev/fd0
10. Source code is commonly obtained in Red Hat Package Manager format. True or False?
11. Which of the following commands can be used to list the files contained within an installed RPM package?
a. rpm –qa packagename
b. rpm –qi packagename
c. rpm –ql packagename
d. rpm –q packagename
12. When compiling source code into a binary program, which command copies compiled binary files to the correct location on the filesystem?
a. tar
b. ./configure
c. make
d. make install
13. Compiling and installing software from source code updates a central database that can then be used to query and remove the software at a later time. True or False?
14. Which file contains full and incremental back-up information for use with the dump/restore utility?
a. /etc/dumps
b. /etc/dumpdates
c. /etc/dumpfile
d. /etc/dump.conf
15. Which of the following represents the first nonrewinding SCSI tape device on a system?
a. /dev/st0
b. /dev/ht0
c. /dev/nht0
d. /dev/nst0
16. What is the most common method for obtaining Linux software?
a. CD-ROM
b. floppy disk
c. Internet download
d. e-mail
17. Which option to the rpm command can be used to remove a package from the system?
a. r
b. e
c. u
d. U
18. Which of the following commands creates an archive?
a. tar –cvf /dev/fd0
b. tar –xvf /dev/fd0
c. tar –tvf /dev/fd0
d. tar –zcvf /dev/fd0 *
19. When compiling source code into a binary program, which command performs a system check and creates the Makefile?
a. tar
b. ./configure
c. make
d. make install
20. Which of the following commands can be used to list detailed information about a package such as its installation date and license?
a. rpm –qa packagename
b. rpm –qi packagename
c. rpm –ql packagename
d. rpm –q packagename
Project 12-1
Project 12-2
Project 12-3
Project 12-4
Project 12-5
Discovery Exercises
Discovery Exercise 1
Discovery Exercise 2
Discovery Exercise 3
Discovery Exercise 4