Linux Ch. 11
Most source code is available on the Internet in tarball format. (True or False?)
True
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
c.) rpm -ql packagename
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
d.) /dev/nst0
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
d.) make install
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 *
d.) tar -zcvf /dev/fd0 *
Files that have been compressed using the compress utility typically have the ______ extension. a.) .tar.gz b.) .gz c.) .Z d.) .bz2
c.) .Z
What is the most common method for obtaining Linux software? a.) CD-ROM b.) floppy disk c.) Internet download d.) e-mail
c.) Internet download
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
c.) make
Which option to the rpm command can be used to remove a package from the system? a.) r b.) e c.) u d.) U
b.) e
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
b.) /etc/dumpdates
The -9 option to the gzip utility results in a higher compression ratio. (True or False?)
True
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
b.) ./configure
The Debian Package Manager (DPM) is the default package manager used by Fedora 13. (True or False?)
False
The bzip2 and gzip utilities use similar compression algorithms. (True or False?)
False
To install a new program from RPM software repositories on the Internet, you can use the yum update programname command. (True or False?)
False
Which filename extension indicates a tarball? a.) .tar.gz b.) .cpio c.) .dump d.) .tar
a.) .tar.gz
Which dump level indicates a full backup? a.) 0 b.) 9 c.) 1 d.) f
a.) 0
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
a.) 0, 1, 2, 3, 4
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
b.) cpio -vicdu -I /dev/fd0
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
b.) rpm -qi packagename