Chapter 11 Review & Lab Questions

Ace your homework & exams now with Quizwiz!

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

True

Which of the following commands extracts an archive?

cpio -vicdu -I /dev/fd0

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

False

The default installation of yum allows you to verify package installations. True or False?

False

The z option in the tar command filters the archive through bzip2. True or False?

False

To add a repository at http://repoexample/example.repo for yum to use, type yum --config http://repoexample/example.repo. 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

When you issue the time cp /bin/rpm ./ command, what's the meaning of the output real 0m1.100s?

The cp program took 1.1 seconds to finish running.

Why might you want to convert bitmap files to jpeg files?

To conserve space and bandwidth

When compiling source code into a binary program, which command performs a system check and creates the Makefile?

./configure

Files that have been compressed using the compress utility typically have the ______ extension.

.Z

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

False

If files are deleted from the words-2-17 package, you can use yum reinstall words-2-17 to solve the problem. True or False?

True

Which of the following commands creates an archive?

tar -zcvf /dev/st0 *

Which command installs the blivet-2.3 package using yum?

yum install blivet*

Which command can convert a bitmap image to a compressed image file?

convert

Which command tells you whether a file with the extension .bmp is really a bitmap image?

file

Which command compresses Linux binary programs and allows them to run in a compressed form?

gzexe

When compiling source code into a binary program, which command does the compiling using the GNU C Compiler?

make

Which command mounts a SAMBA share named mydocs that is located on a server named accounting into the /mnt/docs directory?

mount -t cifs //accounting/mydocs /mnt/docs

Write the command that mounts a SAMBA share named reports located on a server named operations to the /mnt/reports directory.

mount -t cifs //operations/reports /mnt/reports

Which command shows you files that are part of a package but not installed on the hard disk?

rpm -V words-2-17

Which option to the dpkg command can be used to list the files that comprise a package?

-L

What result does the time command display if a program takes 2 hours to run?

120m0.000s

Which file contains full and incremental back-up information for use with the dump/restore utility?

/etc/dumpdates

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

True

The gzexe command enables you to convert a compressed program into its original uncompressed state. True or False?

True

Which command can be used to remove the test DPM package, including any test configuration files?

apt-get purge test

Which option to the rpm command can be used to remove a package from the system?

e

Which command displays all packages installed on your computer?

rpm -qa

Which filename extension indicates a tarball?

.tar.gz

Which of the following represents the first nonrewinding SCSI tape device on a system?

/dev/nst0

Which dump level indicates a full backup?

0

You have created a full backup and four incremental backups. In which order must you restore these backups?

0, 1, 2, 3, 4

A compressed binary program loads just as fast as the same uncompressed program. True or False?

False

A grayscale jpeg file is usually larger than a color bmp file. True or False?

False

If you filter files through gzip using the tar command, you will always get about a 90% compression ratio. True or False?

False

Which command displays information about the words-2-17 package?

rpm -qi words-2-17

Which command can be used to remove the test DPM package, including any test configuration files?

rpm -ql packagename

Which command shows you the files that are part of a package?

rpm -ql words-2-17

Which command displays the names of all installed packages starting with y?

rpm -qp y*

Which command creates an uncompressed tar file of the /lib directory in /mnt/backup?

tar -cvf /mnt/backup/libback.tar /lib

Which of the following commands can be used to search for packages that contain the word oobla on RPM software repositories?

yum search oobla


Related study sets

Psych of Personality Ch 18: Stress, Coping, Adjustment, and Health

View Set

Insurance Exam: life (Iowa laws, rules, and regulations pertinent to life only)

View Set

Chapter 8 - Business Markets and Buying Behavior

View Set

Chapter 9 Techniques and Equipment

View Set

6503-1, 6503-2, 6503-3, 6503-4, 6503-5

View Set