linux 11 comp & rev

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

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 one is NOT a typical step involved in compiling and installing software on Linux? Run "make" shell script Run "install" shell script Run "configure" shell script Run "make install" shell script

Run "install" shell script

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

True

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

True

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

apt aptitude apt-get dpkg

Which of the following commands extracts an archive? cpio -vocBL /dev/fd0 cpio -vicdu -I /dev/fd0 cpio -vicdu -O /dev/fd0 cpio -vti -I /dev/fd0

cpio -vicdu -I /dev/fd0

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

dd

When compiling source code into a binary program, which command does the compiling using the GNU C Compiler? tar ./configure make make install

make

Which of the following commands can be used to list the files contained within an installed RPM package? rpm -qa packagename rpm -qi packagename rpm -ql packagename rpm -q packagename

rpm -ql packagename

Which command is used to extract the tarball? tar -extf gimp-2.10.14.tar.gz tar -exvf gimp-2.10.14.tar.gz tar -zcvf gimp-2.10.14.tar.gz tar -zxvf gimp-2.10.14.tar.gz

tar -zxvf gimp-2.10.14.tar.gz

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

False

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 option to the dpkg command can be used to list the files that comprise a package? -l -L -s -i

-L

Which option to the rpm command can be used to remove a package from the system? -r -e -u -U

-e

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

dnf fed yum

Which of the following commands creates an archive? tar -cvf /dev/st0 tar -xvf /dev/st0 tar -tvf /dev/st0 tar -zcvf /dev/st0 *

tar -zcvf /dev/st0 *

Which filename extension indicates a tarball? .tar.xz .cpio .dump .tar

.tar.xz

Files that have been compressed using the xz utility typically have the ______ extension. .zip .gz .xz .bz2

.xz

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

False

Which one is NOT a typical program used on a Linux server to download a tarball? curl firefox ftp or sftp wget

firefox

Which of the following commands should be run following the installation of a shared library to update the /etc/ld.so.conf and /etc/ld.so.cache files? ldd updatedb ldconfig dpkg-reconfigure

ldconfig

Which of the following command can be used to display the package to which the specified file belongs in RPM? rpm -a <file> rpm -F <file> rpm -qf <file> rpm -ql <file>

rpm -qf <file>

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

False

You have created a full backup and four incremental backups. In which order must you restore these backups? 0, 1, 2, 3, 4 0, 4, 3, 2, 1 4, 3, 2, 1, 0 1, 2, 3, 4, 0

0, 1, 2, 3, 4

When compiling source code into a binary program, which command performs a system check and creates the Makefile? tar ./configure make make install

./configure

Which dump level indicates a full backup? 0 9 1 f

0

Which methods describe a typical Linux software installation process? (Select two) You Answered 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. You Answered Download an image 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.

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

False

dnf resolves package dependencies automatically. True False

True

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

apt purge test


संबंधित स्टडी सेट्स

Email and Other Traditional Tools

View Set

aceable principles II exam practice

View Set

Ch 26 Buyer Representation Agreement

View Set

Biochem Learning Check Questions

View Set