Unit 11 Quiz Linux

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

Which of the following is the full path and file name where the Debian Package Manager repositories can be configured? /etc/dpm/repositories.conf /etc/apt/sources.list /etc/apt.source.conf /etc/dpm.conf

/etc/apt/sources.list

Which of the following can be used at the command line to download a file using the HTTP protocol? (Choose two.) GET wget curl wwwretr

wget curl

What command can be used to display the contents of a file that was compressed with the compress utility? acat zcat cat ccat

zcat

Which of the following commands will list missing libraries as not found if a necessary library is not installed? ldd ldconfig ldso ldchk

ldd

Which of the following files contains the list of shared libraries? /etc/ld.so.conf /etc/ld.so.cache /lib/shared.conf /lib/ld.so.conf

/etc/ld.so.cache

Which of the following commands can be used to install the latest versions of all packages currently installed on the system from the sources configured in sources.list? apt upgrade apt upgrade all apt update apt-upgrade

apt upgrade

The SUSE and openSUSE Linux distributions use an alternative to yum but that provides the same functionality. What is the name of the command they use? apt rpm zypper dnf

zypper

Which of the following commands can you use to search available repository information? (Choose two.) apt-cache apt-query apt query apt

apt-cache apt

Which of the following commands will install an RPM package while ignoring any other packages that it may be dependent upon for proper operation? rpm -ivh --nodeps package.rpm rpm -ivhn package.rpm rpm -i --ignoredeps package.rpm rpm -in package.rpm

rpm -ivh --nodeps package.rpm

Which of the following commands will install a package using the Red Hat Package Manager, showing all information, while printing pound signs to show the progress of installation? rpm -iah packagename.rpm rpm -iap packagename.rpm rpm -ivh packagename.rpm rpm -ivp packagename.rpmq

rpm -ivh packagename.rpm

Which of the following options for the tar command will create an archive that is also gzipped while displaying all of the work in progress to the terminal screen? tar -ngac tar -cfza tar -czvf tar -nzaf

tar -czvf

What option can be added to the dpkg command to remove a specified package from the system, including any configuration files used by the package? -d -P -D -r

-P

Which of the following is not a valid compression file extension for the Linux operating system? .vz .xz .gz .bz2

.vz

Which of the following RPM options will update a software package to the newest version, or install the package if it does not already exist on a system? -i -U -u -F

-U

When using the compress command to archive a set of files into a single file, which of the following options will display the compression ratio of the individual files making up the new compressed file? -c -v -s -a

-v

If no level of compression is specified, the gzip command assumes what compression level? 4 5 6 7

6

Which of the following commands can be used to back up files in case of system failure, supports long filenames, and can also back up device files? diskdup bkup cpio sysbackup

cpio

Which of the following commands can be used to modify configuration options for DPM packages after they have been installed? dpkg-configure dpkg-reconfigure dpkg-update dpkg-config

dpkg-reconfigure

After compiling source code, which command still needs to be run in order to copy the newly compiled binaries into a directory listed in the PATH variable as well as copy supporting files (such as man pages) to the correct location on the filesystem? make install make make image make clean

make install

Which of the following file extensions are used by the Debian Package Manager? .dpm .deb .dpkg .d

.deb

Which of the following is a tool that can be used to search Internet software repositories for RPM packages that map to your system's architecture, and automatically install or upgrade those packages on your system? tar wget APT YUM

YUM

Which of the following package managers are used to install RPM packages on the SUSE or openSUSE distributions by default? APT DPM DNF Zypper

Zypper

Which of the following Debian Package Management commands will install the newest versions of all packages that are currently installed on a system? apt-get update apt-get upgrade apt-get upgrade all apt-get update-all

apt-get upgrade

What command looks for a Makefile and uses the information within it to compile the source code into binary programs using the appropriate compiler program for the local hardware architecture? configure install make install make

make

Which of the following hashing algorithm commands reduces the chances of collisions due to the bit length of the message digest? md4sum md5sum sha256sum sha1sum

sha 256 sum


Ensembles d'études connexes

Term 2 comprehensive test questions

View Set

North Carolina Drivers Ed Mid Term

View Set