Linux TCU Scherger Final

Pataasin ang iyong marka sa homework at exams ngayon gamit ang 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?

&

Which of the following indicates the second partition on the third hard disk drive to GRUB?

(hd2,1)

When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with which symbol?

+

A user account can be locked with the usermod command using what option?

-L

When used with the uncompress command, what option displays the contents of the compress file to Standard Output?

-c

What option should be used in conjunction with the lp command in order to specify the destination printer name?

-d

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

-e

When used with the compress command, what option below can be used to compress symbolic links?

-f

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 job ID's, what option can be specified to the at command?

-l

Select the option that, when used with the gzip command, causes the compression ratios for files that have been compressed to be listed.

-l

Select the option that can be used with the lpstat command to display a list of printers that are enabled:

-p

What option can be added to the rpm command in order to query packages?

-q

What option can be added to the userdel command to remove the home directory of the target user?

-r

What option(s) should you use with the cpio utility to extract files from an archive, and overwrite existing files during extraction without prompting for user confirmation?

-u; -i

Files with what two file extensions are commonly known as tarballs?

.tar.gz, .tgz

What device file below indicates the first ATAPI IDE tape device (non-rewinding)?

/dev/nht0

What two device files below represent the first SCSI tape device, rewinding and non-rewinding?

/dev/st0, /dev/nst0

What two files contain settings for the CUPS daemon and the configuration information for each printer installed on a system, respectively?

/etc/cups/cupsd.conf, /etc/cups/printers.conf

Which file does the UNIX SysV init daemon reference on startup to determine the default runlevel?

/etc/inittab

What configuration file contains parameters that set the default location for e-mail, password expiration information, minimum password length, and the range of UIDs and GIDs available for use?

/etc/login.defs

Which directory stores most UNIX SysV rc scripts?

/etc/rc5.d

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

/var/spool/at

On Linux, the root user always has a UID of what number?

0

Processes are started with what nice value by default?

0

Which runlevel halts the system?

0

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

127

The Adaptive Lempel-Ziv compression algorithm used by the compress utility is capable of an average compression ratio of what percent?

40-50

What is the default print job priority for all print jobs created by the lp command?

50

The System Log Daemon uses what TCP and UDP port to accept incoming requests from another System Log Daemon on a remote system?

514

If no level of compression is specified, the gzip command assumes what compression level?

6

What is the average compression ratio for the gzip utility using the LZ77 compression algorithm?

60-70%

The CUPS web administration tool can be accessed via web browser by accessing what TCP port below?

631

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

64

In order to download DPM packages, what command should be used below?

Apt-get

In the process called _______, a user's username and password are checking against a system database that contains all user account information.

Authentication

On the CUPS printing system, to remove a print job that is in the print queue, you can use the _____ command followed by the print job IDs of the jobs to remove.

Cancel

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

Device calls

What command can be used to search for APM package information?

Dpkg-query

In order to download DPM packages, what command should be used?

Dpm-grab

On most Linux systems, the logrotate utility is automatically scheduled to run weekly.

False

The killall command uses the PID to kill a process

False

The killall command uses the PID to kill a process.

False

The secure log file contains information regarding the last user to log into a system.

False

When using the gzip utility, the -l option is also known as best compression and results in a higher compression ratio.

False

After a background process has been started, what command below can be used to move it to the foreground?

Fg

In a process referred to as _____, when executing compiled programs or shell scripts, the BASH shell that interprets the command you typed creates a new BASH shell.

Forking

_____ represents a text description of the user and is typically left blank.

GECOS

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

Kill, killall

Which command should be used to restrict access to printers?

Lpadmin

What command looks for a Makefile and uses the information within to compile the source code into binary programs using the appropriate compiler program for the local hardware architecture?

Make

To change the primary group temporarily to another group, that is listed in the output of the groups and id commands, you can use which command below?

Newgrp

The ___ can be used to affect the process priority indirectly.

Nice value

RPM packages that require other RPM packages to be installed on a system prior to being installed creates a relationship known as?

Package dependency

What priority used by the System Log Daemon indicates a very serious system condition that would normally be broadcast to all users?

Panic

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

Parent process ID

A set of information that is sent to a printer at the same time is called a(n) ______.

Print job

A(n) _________ refers to a program that is running in memory and on the CPU

Process

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

Process state

What command is used to display the lineage of a process by tracing it's PPID's until the init daemon?

Pstree

A system that uses an /etc/passwd file only can be converted to use /etc/shadow for security by using what command?

Pwconv

Most Linux distributions make use of what package manager?

RPM (Red Hat Package Manager)

Processes that have encountered an error during execution and continuously use up system resources are referred to as ______ processes.

Rogue

An RPM package can be converted to a cpio archive using what command?

Rpm2cpio

The Sys Log Daemon rsyslogd loads what configuration file under /etc, as well as any files within which directory under /etc?

Rsyslog.conf; rsyslog.d

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

What signal name and number function as the absolute kill signal, and when issued, forces the Linux kernel to stop executing the process by sending the process's resources to /dev/null?

SIGKILL; 9

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

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

Sixth

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

The process is currently running on the processor.

The amount of time a process has to use the CPU is called a(n) ______.

Time Slice

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

True

Because the Makefile often includes some documented items, it is good form to read the Makefile after running the configure script.

True

CUPS contains versions of the lpr, lpc, lpq, and lprm commands.

True

Each process can start an unlimited number of other processes.

True

Either the MBR/GPT or the active partition can contain the boot loader.

True

If the /etc/at.allow and etc/at.deny files do not exist, only the root user is allowed to schedule tasks using the at daemon.

True

LILO needs to be reinstalled after it has been modified.

True

Logs from the cron daemon (crond) can be viewed using the command journalctl_COMM=crond.

True

The compress utility preserves the original ownership, modification, and access time for each file that it compresses.

True

The cpio command has the ability to handle long filenames and can be used to back up device files.

True

The tar utility cannot back up device files or files with filenames longer than 255 characters.

True

When you print to a printer class, the print job is send to the first available printer in the printer class.

True

Zombie processes are also known as defunct processes.

True

Which two implementations of X Windows are commonly used in Linux? (Choose two answers.)

X.org, XFree86

The _____ command can be used to search Internet software repositories for RPM packages that map to your architecture, and automatically install or upgrade those packages for you.

Yum

What command can be used to display the contents of a file that was compressed with the compress utility?

Zcat

What System Log Daemon priority indicates an error that should be rectified immediately, such as a corrupt system database?

alert

To view the contents of a file that was compressed with the bzip2 utility, you must use the _____ command.

bzcat

The ______ utility uses the Burrows-Wheeler Block Sorting Huffman Coding algorithm when compressing files.

bzip2

What two commands below can be used to modify the password expiry information and a user's default shell?

chage, chsh

A(n) ________________ backup backs up only the data that has been changed since the last backup

incremental

In order to send a print job to a printer using CUPS, what command must be used?

lp

Adding the -t option to what command below will provide a list of printers on the system and their status?

lpstat

What log file contains information and error messages regarding network access generated by daemons such as ssd and xinetd?

secure

Which command can be used to start X Windows, the window manager, and the default desktop environment?

startx

In order to create user accounts on a Linux system, what command should be utilized?

useradd

What two log files below will show a history of all login sessions, or a list of users and their last login time, depending on which one is viewed?

wtemp, lastlog

Which command can be used to fine-tune the vsync and hsync of a video card for use in X Windows?

xvidtune


Kaugnay na mga set ng pag-aaral

Speak Up! Chapter 12 (Key Terms and Review Questions)

View Set

Le Guerre en Ukraine Vocabulaire Français

View Set