Questions & Answers 100% Correct!!
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 -in package.rpm
rpm -ivh --nodeps package.rpm
rpm -i --ignoredeps package.rpm
rpm -ivhn package.rpm - ANSWER rpm -ivh --nodeps package.rpm
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?
-s
-a
-c
-v - ANSWER -v
Which of the following can be used at the command line to download a file using the HTTP protocol?
(Choose two.)
curl
wwwretr
GET
wget - ANSWER wget
curl
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?
,cpio
diskdup
bkup
sysbackup - ANSWER cpio
Which of the following file extensions are used by the Debian Package Manager?
.dpm
.d
.deb
.dpkg - ANSWER .deb
If no level of compression is specified, the gzip command assumes what compression level?
4
7
5
6 - ANSWER 6
Which of the following is not a valid compression file extension for the Linux operating system?
.gz
.vz
.xz
.bz2 - ANSWER .vz
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 all
apt-get upgrade
apt-get update-all - ANSWER apt-get 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?
rpm
zypper
dnf
apt - ANSWER zypper
Which of the following files contains the list of shared libraries?
/etc/ld.so.cache
/etc/ld.so.conf
/lib/ld.so.conf
/lib/shared.conf - ANSWER /etc/ld.so.cache
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 -czvf
tar -nzaf
tar -ngac
tar -cfza - ANSWER 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?
-P
-D