Linux Part 1 - Managing Software (Quiz 2)

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which of the following metacharacters is used by Linux to run a command in the background?

&

What is the range of nice numbers for a Superuser (root)?

-20 to 19

Which of the following dpkg command parameters is used to recursively handle all regular files matching pattern *.deb found at specified directories and all of its subdirectories?

-R

Which of the following options is used with the rpm to verify the installed packages?

-V

Which of the following is the extension of the Debian package files?

.deb

YUM is configured with which of the following configuration files?

/etc/yum.conf

What is a daemon?

A background process

What is the preferred method of adding a directory to the library path for all users?

Add the directory to the /etc/ld.so.conf file, and then type ldconfig.

Which of the following commands displays the shared library required by each program?

Idd

Which of the following utilities is used to determine the libraries necessary for a particular executable code?

Idd

You type jobs at a bash command prompt and receive a new command prompt with no intervening output. What can you conclude?

No background processes are running that were launched from the shell that you're using.

What does RPM stand for?

Redhat Package Manager

Which of the following is not an advantage of a source package over a binary package?

Source packages can be installed more quickly than binary packages.

As root, you type apt-get update on a Debian system. What should be the effect of this command?

The APT utilities retrieve information about the latest packages available so that you may install them with subsequent apt-get commands.

Which of the following statements regarding various modes of the rpm command is false?

The freshen mode upgrades packages whose older versions do not exist on a computer.

Which of the following statements is true of binary RPM packages that are built for a particular distribution?

They can often be used on another RPM-based distribution for the same CPU architecture, but this isn't guaranteed.

A user types kill -9 11287 at a bash prompt. What is the probable intent, assuming the user typed the correct command?

To terminate a misbehaving or hung program with process ID 11287

Which of the following options is front-end to the RPM?

YUM

Which of the following options is correct expansion of YUM?

Yellowdog Updater Modified

You prefer the look of GTK+ widgets to Qt widgets, so you want to substitute the GTK+ libraries for the Qt libraries on your system. How would you do this?

You can't easily do this; libraries can't be arbitrarily exchanged for one another. You would need to rewrite all of the Qt-using programs to use GTK+.

In Linux, which of the following commands is used to install a non-debian package on a computer?

alien

Which of the following commands maintains a database of package information that enables the tool to automatically upgrade packages and their dependencies as new package releases become available?

apt-get

Which of the following describes a difference between apt-get and dpkg?

apt-get can automatically retrieve and update programs from Internet sites; dpkg can't.

Which of the following acts as front-end to the dpkg command?

aptitude

Which of the following commands is used to send a process in background?

bg

Which of the following commands is NOT an apt-get command?

cat

Which of the following extensions is used with the Debian package?

deb

What command would you type to obtain a list of all the installed packages on a Debian system?

dpkg --get-selections

Which of the following options is used with the rpm to uninstall a package?

e

Which of the following options is used with the rpm to install a package?

i

Which of the following commands is used to view the processes running in background as well as foreground?

jobs

Which of the following commands is used to kill a process by name?

killall

Which of the following commands is used to create necessary links to the most recent shared libraries?

ldconfig

Which of the following commands are equivalent to one another? (Select two.)

nice -10 crunch nice crunch

Which of the following commands creates a display of processes, showing the parent-child relationships through links between their names?

ps --forest

Which of the following commands is used to list Redhat Linux packages that are installed on a computer?

rpm -qa

Which of the following commands is used to list all installed packages?

rpm =qa

Which of the following commands will extract the contents of the myfonts.rpm file into the current directory?

rpm2cpio myfonts.rpm | cpio -i --make-directories

Which of the following commands is used to list all the running screen processes?

screen -ls

Which of the following is a special name of shared library?

soname

Which of the following is NOT one of the descriptors of a Linux process?

stdproc

What programs might you use to learn what your system's load average is? (Select two.)

top uptime

Which of the following commands is used to get the time since the computer is running?

uptime

Which of the following commands would you type to update the unzip program on a Fedora system to the latest version? (Select all that apply.)

yum update unzip yum upgrade unzip


Conjuntos de estudio relacionados

ATI Older Adults Post Assignment

View Set

Chapter 8 -- Cellular Respiration

View Set

Penny Chapter 30 : Chromosomal Abnormalities Review Questions

View Set