Chapter 11
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
Which dump level indicates a full backup?
0
What command can be used to display the contents of a file that was compressed with the gzip utility?
zcat
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?
ldconfig
Which of the following commands creates an archive?
tar -zcvf /dev/st0 *
Which of the following commands can be used to search for packages that contain the word oobla on RPM software repositories?
yum search oobla
When compiling source code into a binary program, which command performs system checks and creates the Makefile?
configure
Which option to the dpkg command can be used to list the files that comprise a package?
-L
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?
-U
Files that have been compressed using the gzip utility typically have the ______ extension.
.gz
Which of the following files contains full and incremental backup information for use with the dump utility?
/etc/dumpdates
The Debian Package Manager (DPM) is the default package manager used by Fedora 28. True or False?
False
Most source code is typically available on the Internet in tarball format or as a git repository. True or False?
True
Which command can be used to create an image backup of a partition?
dd
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?
dnf
Which option to the rpm command can be used to remove a package from the system?
e
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?
make
When compiling source code into a binary program, which command does the compiling using the GNU C Compiler?
make
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
Which of the following commands will install a package using the Red Hat Package Manager, showing all information, while printing the # signs to show the progress of installation?
rpm -ivh packagename.rpm
You believe that a file belongs to an installed RPM package. Which of the following commands can be used to find out what is the name of the package?
rpm -qf filename
Which of the following commands can be used to show the full information (e.g., its developer and version) about a package?
rpm -qi package-name
Which of the following commands can be used to list the files contained within an installed RPM package?
rpm -ql packagename
Files that have been compressed using the xz utility typically have the ______ extension.
xz
Which of the following commands can be used to remove the test DPM package, including any test configuration files?
apt purge test
Which of the following commands can be used to back up files with long filenames, and can also back up device files?
cpio
Which of the following can be used at the command line to download a file using the HTTP protocol? (Choose all that apply.)
- wget - curl
Which of the following commands extracts an archive?
cpio -vicdu -I /dev/fd0
You have created a full backup and four incremental backups. In which order must you restore these backups?
0,1,2,3,4
The bzip2 and gzip utilities use similar compression algorithms. True or False?
False
To install a new program from RPM software repositories on the Internet, you can use the dnf update programname command. True or False?
False
The -9 option to the gzip utility results in a higher compression ratio. True or False?
True
Which filename extension indicates a tar ball
tar.gz