Linux+ and LPIC-1 Chapter 11

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

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

apt purge test pg 605

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 pg 577

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 pg 593

Which of the following commands creates an archive? a. tar -cvf /dev/st0 b. tar -xvf /dev/st0 c. tar -tvf /dev/st0 d. tar -zcvf /dev/st0 *

tar -zcvf /dev/st0 * pg 575

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

-L pg 601

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 pg 594

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

0 pg 579

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 pg 579

Which commands can you use or could you have used to install a package on Ubuntu? (Select all that apply) apt aptitude apt-get dpkg

All of the above

Which methods describe a typical Linux software installation process? (Select two) Download an executable and let the installer extract and install Download a tarball, and manually extract, compile, and install Download a package and let the package manager extract and install. Download an image and let the installer extract and install

Download a package and let the package manager extract and install. Download a tarball, and manually extract, compile, and install

Which statements are true regarding packages and package mangers. (Select two) Red Hat Package has the extension of .rpm Debian Package has the extension of .dpm rpm is the command to run Red Hat Package Manager dpm is the command to run Debian Package Manager

Red Hat Package has the extension of .rpm rpm is the command to run Red Hat Package Manager

Which command can be used to create an image backup of a partition? a. tar b. dd c. dump d. cpio

dd pg 583

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

True pg 592

Which one is NOT a Linux backup tool? tar cpio ee dump / restore

ee

What is a shared library? (Select two) A binary file that contains function calls that are used by multiple applications Has the .sl extension Placed under /lib/ or /lib64/ directory typically Unique to Linux which is not found in Windows OS

A binary file that contains function calls that are used by multiple applications Placed under /lib/ or /lib64/ directory typically

Which one is NOT a typical program used on a Linux server to download a tarball?

firefox

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 pg 586

Files that have been compressed using the xz utility typically have the _________ extension. a. .zip b. .gz c. .xz d. .bz2

.xz pg 56#

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

True pg 561

Most source code is typically available on the Internet in tarball format or as a git repository. True or False?

True pg 586

Find the match. dnf install <package> dnf list <package> dnf upgrade <package> remove <package> [ Choose ] Install <package> Check if <package> is installed Delete <package> Update <package>

dnf install <package> = Install <package> dnf list <package> = Check if <package> is installed dnf upgrade <package> = Update <package> remove <package> = Delete <package>

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 pg 587

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

False pg 566

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

False pg 586

dnf resolves package dependencies automatically. True or False?

True

Which commands can you use or could you have used to install a package on Fedora? (Select three) dnf fed rpm yum

dnf rpm yum

Incremental backups back up the data that has been changed since the last full backup. True or False?

False


Ensembles d'études connexes

Ch 19 disorders of cardiac funtion

View Set

Macroeconomics Final 1 Questions Review

View Set

Consumer Behavior Exam 1: chapters 1-5

View Set

BIO 204 Replication, Transcription and Translation

View Set

6.4: Sending Data into a Function

View Set