Ch. 11 Linux

Ace your homework & exams now with Quizwiz!

4. Files that have been compressed using the compress utility typically have the ______ extension. a. .tar.gz b. .gz c. .Z d. .bz2

.Z

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 *

tar -zcvf /dev/fd0 *

Which of the following commands can be used to search for packages that contain the word oobla on RPM software repositories? a. yum list oobla b. yum search oobla c. rpm -qS oobla d. rpm -ql oobla

yum search oobla

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

rpm -qi packagename

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

cpio -vicdu -I /dev/fd0

Which option to the dpkg command can be used to list the files that comprise a package? a. -i b. -s c. -l d. -L

dpkg -L

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

e

Which command can be used to remove the test DPM package, including any test configuration files? a. apt-get purge test b. apt-get remove test c. dpkg purge test d. dpkg remove test

apt-get purge test

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

make

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

make install *DONT KNOW

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

./configure

3. Which filename extension indicates a tarball? a. .tar.gz b. .cpio c. .dump d. .tar

.tar.gz

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

/dev/nst0

14. Which file contains full and incremental backup information for use with the dump/restore utility? a. /etc/dumps b. /etc/dumpdates c. /etc/dumpfile d. /etc/dump.conf

/etc/dumpdates

2. Which dump level indicates a full backup? a. 0 b. 9 c. 1 d. f

0

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

0, 1, 2, 3, 4

10. The Debian Package Manager (DPM) is the default package manager used by Fedora 13. True or False?

False

5. The bzip2 and gzip utilities use similar compression algorithms. True or False?

False

13. To install a new program from RPM software repositories on the Internet, you can use the yum update programname command. True or False?

False (TEST TRUE)

16. What is the most common method for obtaining Linux software? a. CD-ROM b. floppy disk c. Internet download d. e-mail

Internet download

1. Most source code is available on the Internet in tarball format. True or False?

True

7. The -9 option to the gzip utility results in a higher compression ratio. True or False?

True

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

rpm -ql packagename


Related study sets

MKTG 380 -- Safavi -- WWU -- FINAL ASSIGNMENTS

View Set

Functional Assessment and Behavior Intervention Plans

View Set

Anna's Ultimate Exam Practice Test

View Set

Health Promotion of Infants (2 days to 1 year)

View Set

Frequently Missed Questions for Producer Licensing Exam

View Set

Chapter 22 Check your understandings

View Set

Diuretic/ Fluid and Electrolyte Practice Questions- Pharmacology I

View Set