EXAM2_LINUX

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

When killing a background job with the kill command, the background job ID must be prefixed by what character below?

%

What character, when appended to a command, causes the command to be run in the background?

&

In standard GRUB notation, select the option below that represents the first hard drive in a system, and the first partition on that hard drive.​

(hd0,0)

What option can be used with the ps command to display an entire list of processes across all terminals and including daemons?

-e

What option, when added to the crontab command, opens the vi editor with a user's cron table?

-e

​What two ps options can be used to display a full list of information about each process, and a long list of information about each process?

-f -l

In order to display a list of at job IDs, what option can be specified to the at command?

-l

In Fedora 20, where are user configured settings for Xorg stored?​

/etc/X11/xorg.conf.d/

What file controls the default runlevel when using Systemd?​

/etc/systemd/system/defaul.target

What file in the /proc directory contains information about a computer's CPU?​

/proc/cpuinfo

To ensure that Linux has detected the correct amount of RAM in the system after installation, you should view the contents of what file in the proc directory?

/proc/meminfo

You are troubleshooting an issue that occurs on a Linux system during the boot process. What file can be viewed on most Linux systems to see processes that started successfully or unsuccessfully specifically during the boot process?

/var/log/boot.log

On a Fedora based system, where are the shell environment and scheduled commands for at stored?​

/var/spool/at

At what runlevel does a Linux system have no daemons active in memory, allowing it to be safely powered off?

0

Processes are started with what nice value by default?

0

The first software RAID volume on a system will​ use a multiple disk device file that starts with what number?

127

What number indicates the lowest kernel priority (PRI) of a process possible?​

127

In Linux, what runlevel is also known as the multiuser mode?

2

The GUI components and related software take up how much space on a typical Linux installation?

4 GB

How many different kill signals can be sent by the kill command to a given process?

64

The killall command uses the PID to kill a process.

False

The GNOME 3 desktop environment utilizes what window manager and toolkit below?

GTK+TOOLBOX Mutter

The K desktop environment utilizes what window manager and toolkit below?​

QT toolkit kwin

​What RAID level is commonly referred to as disk striping with parity?

RAID5

​What two RAID types below utilize disk striping with parity, providing protection against one or two drive failures respectively? (choose all that apply)

RAID5 RAID6

What kill signal stops a process, then restarts it with the same PID?

SIGHUP

What kill signal and number can be used to send an interrupt signal to a process, and is the same as using the Ctrl+c combination to kill a running process?​

SIGINT 2

Which kill signal terminates a process by taking the process information in memory and saving it to a file called core on the hard disk in the current working directory?

SIGQUIT

A computer connected to a remote hard disk via iSCSI is referred to as an iSCSI initiator.

TRUE

​In the process state column, what does an "R" indicate?

The process is currently running on the processor

When viewing the output of the ps ax​ command, what does a < symbol in the STAT column indicate for a process?

The process is high priority

After a process has been started, you can change its priority by using the renice command.

True

Each process can start an unlimited number of other processes.

True

Most daemon scripts accept the arguments start, stop, and restart.

True

RAID level 6 is basically the same as RAID level 5, but it adds a second set of parity bits for added fault tolerance ​and allows up to two simultaneous hard disk drive failures while remaining fault tolerant.

True

SCSI devices that act as a gateway are associated with a unique Logical Unit Number (LUN)​

True

​Much like the SysV init daemon, the Systemd init daemon is used to start daemons during system initialization as well as start and stop daemons after system initialization.

True

What is the term for a ZFS managed filesystem that is created from ZFS pools?​

ZFS volume

Select the two keywords that can be used in the lilo.conf file in order to specify where LILO should be installed, and what parameters should be passed to the Linux kernel when loaded:​

append= boot=

What command can be used to configure the LILO, ELILO, GRUB, and GRUB2 bootloaders?​

boot-config

On Linux systems that use the traditional ​UNIX SysV init, what command below can be used to list and modify the runlevels that a daemon is started in?

chkconfig

​Select the command that can be used to change the root filesystem to a different directory, such as when in a rescue environment.

chroot

Which of the following is not one of the three main types of Linux commands?​

device calls

The /etc/rc.d/rc 5 script only executes files that start with S in the /etc/rc.d/rc5.d/ directory.

false

What is the default target on a system with a GUI installed?​

graphical.target

What command can be used to configure the LILO, ELILO, GRUB, and GRUB2 bootloaders?​

grubby

In the /etc/lilo.conf file, what keyword should be specified in order to provide the absolute pathname to the Linux kernel?

image=

Segmentation faults can sometimes be fixed by performing what two tasks below?​

increase the number of memory wait states in BIOS Turn off CPU cache memory

What two commands below can be used to stop a process, either by PID number or process name?​

kill killall

What command below can be used to uninstall the LILO bootloader from an active partition?​

lilo-U

Select the file in the /proc directory that contains statistics on the performance of the processor:

loadavg

Which two problems below are typically seen on large systems that write large amounts of data to a non-ZFS filesystem?​

misdirected writes bit rot

Select the two window managers that have been used in GNOME:​

mutter metacity

What can be used on a Linux system to trace the lineage of each child process?​

parent process ID

In the output of the ps -l command, what column is the most valuable to systems administrators because it indicates what the process is currently doing?

process state

What command below is used to display the lineage of a process by tracing its PPIDs until the init daemon?​

pstree

Which command below can be used to start, stop, or restart any daemons in the /etc/init.d directory?

service

In a cron table entry, what field specifies the absolute pathname to a command that is to be executed?

sixth

What stage of the GRUB boot loader typically resides on the MBR / GPT?

stage1

In order to change keyboard layout if X Windows can't detect the layout, you should use what CLI command?

system-config-keyboard

​When using Systemd, what command can be used to start, stop, and configure daemons to start automatically when the system starts?

systemctl

What two processes below will show up as PID 1, depending on whether a system uses UNIX SysV or Systemd init processes?

systemd init

You can use a small bootable Linux kernel (such as on a LiveCD) to fix problems related to the following: the boot loader; filesystems and partitions; the configuration file; and drivers.

true

Under what directory is the Linux kernel stored?

/boot

You can choose to use a window manager only, and not use a desktop manager.

True

Zombie processes are also known as defunct processes.​

True

What command below can be used to re-install GRUB2 in the event that the boot loader becomes corrupted?​

grub2-install

After modifying the /etc/default/grub file, what command should be run to rebuild the grub config files?​

grub2-mkconfig

Once X Windows is configured, what command can be used to fine tune the vertical and horizontal refresh rate?

xvidtune


Set pelajaran terkait

APUSH Unit 5 Additional Questions

View Set

CZC1 - additional questions (Chapter 18, 21)

View Set

Unit 5: Revolutions (1750-1900) - AP World History

View Set

Ch 53: Nursing Care of a Family when a Child has a Malignancy

View Set

Laboratory 13: Bacterial Population Counts

View Set