Linux TestOut Ch. 4-7

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Which of the following directories typically hold the dynamic libraries on your system?

-/usr/lib/ -/usr/local/lib/

Match the term on the left with its characteristic on the right. (Each term can be used more than once.)

-Has a .so or .so.version extension: Dynamic Library -Increases the size of the application: Static Library -Has a .filename extension: Static Library -Is typically stored in /usr/lib/ and /usr/local/lib/: Dynamic Library -Can degrade program load time if the library is already in use by another program: Dynamic Library

Which dpkg option completely removes a package and its configuration files?

-P

Which of the following dpkg options will install a package recursively?

-R

Which of the following methods should you use to configure dynamic libraries on a Linux system?

-Use the LD_LIBRARY_PATH environment variable to specify additional directories to search for library files. -Modify /etc/ld.so.conf to add the path of the libraries

Which of the following are examples of a Linux display server?

-Wayland compositor -X11

View User Account Information Lab

-What is the UID for the schawla user account? 509 -What is the full user's name (GECOS field) for the rcronn user account? Robert Cronn -What is the primary group ID for the ftp user account? 50 -What is the path of the home directory for the root user account? /root

View Group Membership Information Lab

-Which of the following user accounts is not a member of the mgmt1 group? bcasssini -Which of the following users belongs to the devel group? mbrown -What is the sales group's ID? 513 -What is the name of the group with the ID 503? cflynn

Which of the following statements correctly describe the differences between the apt-get remove and apt-get purge commands?

-apt-get purge removes the package and the configuration files -apt-get remove removes a specified package, but leaves the configuration files

You have installed a package called mathpac with apt-get. After a system upgrade, the package is not working correctly. Which of the following commands is the MOST correct method to get the package to work?

-apt-get upgrade mathpac

Use DNF to Remove an RPM Package Lab

-dnf erase RunSnakeRun.noarch

Use DNF to Install an RPM Package Lab

-dnf install pulseaudio-equalizer.noarch -Y

Rename and Create Groups Lab

-groupmod -n western_sales_division sales -groupadd eastern_sales_division -usermod -G eastern_sales_division aespinoza

Remove a User from a Group Lab

-groups cflynn -usermod -G mgmt1,it cflynn -groups cflynn

Add a User to Additional Groups Lab

-groups schawla -usermod -aG mgmt2,hr schawla -cat/etc/group

You are working on a Debian distribution of Linux. You want to retrieve information about the Debian package database on the system. Without using any command options, what command will provide the information you need?

apt-cache

You are working on a Debian distribution of Linux. You need to install a package, but you do not want to manually install all the dependencies for the next package. Without using any command options, what command should you use?

apt-get

Which of the following Debian package management utilities provides the front end for APT?

aptitude

What dpkg command would you enter at the command prompt to search for packages that have been partially installed on the system?

dpkg -C

What dpkg command would you enter at the command prompt to list information about a currently installed Debian package?

dpkg -p

Which of the following commands will reconfigure an already installed package?

dpkg-reconfigure

What would you enter at the command prompt without options to reload the library cache every time libraries are added or removed and update the symbolic links?

ldconfig

Which of the following commands reloads the libraries for the /bin/bash executable, but does not update the cache?

ldconfig -N /bin/bash

Which of the following commands should you use to change the location of the default file used to search for libraries?

ldconfig -f

What would you enter at the command prompt to display the shared library information for executables?

ldd (lowercase L)

Change Your Password Lab

-passwd -7hevn9jan -r8ting4str -r8ting4str

Update an RPM Package Lab

-rpm -Uv kernel-tools-10.21.2015-54.fc21.rpm

Remove an RPM Package Lab

-rpm -e ddd-C-Debug -rpm -q ddd-C-Debug

Install an RPM Package Lab

-su - -1worm4b8 -rpm -vh /home/wadams/Downloads/fontconfig-3.10.87-5.fc24.rpm -rpm -q fontconfig

Enable System Services at Boot Lab

-systemctl enable anaconda.service -systemctl disable vmtoolsd.service -systemctl is-enabled service_name

Manage System Services Lab

-systemctl start bluetooth.service -systemctl stop bluetooth.service -systemctl restart bluetooth.service

Create a User Account Lab

-useradd -c "Paul Denunzio" pdenunzio -passwd pdenunzio -eye8cereal -eye8cereal -cat /etc/passwd

Delete a Group and Users Lab

-userdel -r lblaine -userdel -r rconger -groupdel auditors -cat /etc/group -ls /home

Delete a User Lab

-userdel -r thaslam -cat /etc/passwd -ls /home

Remove a User from All Groups

-usermod -G "" schawla -cat /etc/group

Add Users to a Group

-usermod -G hr mbrown -usermod -G hr cflynn -groups mbrown -groups cflynn

Lock and Unlock User Accounts Lab

-usermod -L vedwards -usermod -L cflynn -usermod -L bkahn -usermod -U mbrown -usermod -U bcassini -usermod -U aespinoza -cat /etc/shadow

Rename a User Account Lab

-usermod -c "Brenda Palmer" -d /home/bpalmer -m -l bpalmer bacassini -cat /etc/passwd -ls /home

Configure Dual Boot Lab

-vi /etc/default/grub -i -GRUB_DEFAULT=Windows 10 -Esc -:wq -grub2-mkconfig -o /boot/grub2/grub.cfg -reboot -Select Windows 10

Set the GRUB Timeout Lab

-vi /etc/default/grub -i -GRUB_TIMEOUT=10 -Esc -:wq -grub2-mkconfig -o /boot/grub2/grub.cfg -reboot -root (or su) -1worm4b8

A system administrator is configuring a package manager to access packages from a local repository and take advantage of a local repository's transfer speed. Which of the following commands can be used to pull packages from an online repository?

-wget -curl -rsync

What is the full path and file name for the file that contains a colon-, space-, tab-, newline-, or comma-delimited list of directories in which to search for libraries?

/etc/ld.so.conf

What is the correct order for the boot phases of a Linux computer?

1st: BIOS 2nd: Boot Loader 3rd: OS Kernel 4th: system or init

Which of the following desktops was derived from GNOME 3, follows traditional desktop metaphor conventions, and is the primary desktop environment for the Mint distribution?

Cinnamon

Which of the following actions does the dpkg -l (lowercase L) command perform?

All packages with names that match a specified pattern are displayed

Which system component verifies the hardware and passes control of the computer to the boot loader?

BIOS

You have a user who has difficulty typing. She is constantly pressing keys multiple times by accident. Which keyboard accessibility option should you enable?

Bounce keys

You have just installed a new Linux system, which is using the Wayland system. Which of the following is a VALID statement regarding this system?

Events captured from the keyboard are sent to the Wayland compositor and then the Wayland client, where the rendering takes place.

Which of the following desktops is the default for many Linux distributions, such as Fedora and Ubuntu?

GNOME

Which of the following are popular Linux desktops?

GNOME Unity Cinnamon KDE Mate

What accessibility option adjusts the background and text colors to improve readability?

High Contrast

Which of the following commands displays all of the shared library information for the /bin/bash executable?

Idd -v /bin/bash

Which of the following situations is most likely to cause a dependency problem?

Installing two different packages that both include /usr/lib/graphlib

Which of the following desktops emulates a Windows desktop, especially in the location of the menu options and bottom panel bar?

KDE

Which environment variable specifies additional directories to search for library files not listed in /etc/ld.so/conf?

LD_LIBRARY_PATH

Which of the following desktops were started by an Arch Linux user in response to the negative reception of GNOME 3 and continue to follow the GNOME 2 code base?

MATE

You have a user who has difficulty using the mouse. Which of the following keyboard accessibility options would BEST aid this user?

Mouse keys

Which remote desktop technology offers access from most common platforms such as Linux, Windows, Mac, iOS, Android, and Rasberry?

NX

In which boot process stage is the root partition mounted?

OS Kernel

Which component is responsible for loading and executing the initial process?

OS Kernel

Which of the following is a free, open-source scriptable screen reader that works with the GNOME desktop?

Orca

Which of the following functions does the -d option perform when using the apt-get command to install a package?

Packages are downloaded to the system, but not installed.

Which of the following functions does the dpkg --configure command perform?

Reconfigures an unpacked package

Which of the following statements BEST describes the repeat key keyboard accessibility option?

Repeat keys affect how quickly the action associated with the key is repeatedly performed when the key is pressed down.

Which of the following provides a complete open-source solution for remote access to virtual machines?

SPICE

Which of the following BEST describes the role of the Linux desktop?

The Linux desktop adds a series of tools and utilities to make the GUI useful.

Which of the following has a process ID (PID) of 1?

The initial process

You have a system with more than one Linux operating system installed. During the system's bootup process, which component loads a splash screen, allowing you to choose which operating system you want to run?

The secondary boot loader

Which of the following desktops was the default for Ubuntu until 2017?

Unity

Which of the following users MOST benefit from the sticky keys accessibility option?

Users who have difficulty pressing multiple keys at the same time.

Linux provides technology that allows the user to remotely view a graphical user interface and control mouse and keyboard events. Which of the following technologies establishes a connection with a remote computer using a viewer on one end and a server on the remote end?

VNC

Which component of the X11 Window System controls the placement and appearance of windows on a Linux computer?

Window Manager

Which X11 Window System element is the MAIN system component?

X11 server

Your company has implemented both Linux and Window servers. The system administrators use Windows desktops, so they have access to Windows administration tools. They routinely access the Windows servers using Windows Remote Desktop. Which of the following implementations would allow the system administrators to connect to the Linux systems using Windows Remote Desktop?

XRDP

Shut Down with Notification Lab

shutdown -h +15 It is time for a shutdown!

Shut Down Immediately Lab

shutdown -h now halt

Shut Down and Reboot Lab

shutdown -r +5

Change a User's Password Lab

su -c "passwd schawla" -1worm4b8 -G20oly04 -G20oly04

What is the core process for a systemd-based Linux system?

systemd

Which of the following apt-cache options will show the missing dependencies in the package cache?

unmet

Which of the following apt-get options will upgrade all installed packages to the latest versions using the information in /etc/apt/sources.list?

upgrade


Set pelajaran terkait

Chapter 8- Pricing and Credit Strategies

View Set

PRINCIPLES OF BUSINESS - Chapter 1 Assignment

View Set

Interactions Between Cells and Their Environment

View Set