Linux Study

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Any line that starts with a(n) ____ character is a comment in the /etc/rsyslog.conf file.

#

When you append a(n) ____ to a command, the command is run in a background process.

&

The lp command uses the ____ option to specify the destination printer name.

-d

To display an entire list of processes across all terminals and including daemons, you can add the ____ option to any ps command.

-e

To display a list of at Job IDs, you can specify the ____ option to the at command.

-l

You can redirect a file to the standard input of a command using the ____ metacharacter.

<

The ____ escape sequence represents a form feed.

\f

To see a list of the environment variables and their current values on a system, you can use the ____ command.

set

Files that are typically used to create custom programs that perform administrative tasks on Linux systems.

shell scripts

The ____ field in a cron table contains the absolute pathname to the command to be executed.

sixth

You can create user accounts on the Linux system by using the ____ command.

useradd

The BASH shell assumes stdout in the absence of a numeric file descriptor.

true

Shell variables that are typically set by the system and contain information that the system and programs access regularly

environment variables

After a background process has been started, it can be moved to the foreground by using the ____ command.

fg

The first line in a shell script, which specifies the pathname to the shell that interprets the contents of the shell script.

hashpling

To send a print job to a printer, you must first use the ____ command and specify what to print.

lp

You can restrict who can print to certain printers by using the ____ command.

lpadmin

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

newgrp

Which utility can be used to modify runtime configuration files so that they start and stop daemons when entering a particular runlevel?

ntsysv

After the entries in /etc/inittab have been executed, the ____ file is executed to perform tasks that must occur after system startup.

/etc/rc.d/rc.local

The file descriptor stdin is represented by the number ____.

0

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

process state

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

False

The init daemon has a PID of 0.

False

The ps command is the only command that can view process information.

False

To clear a log file, you can use a(n) < redirection symbol.

False

Users can create their own custom variables, called shell variables.

False

Using one boot loader to boot one of several operating systems is known as multi-booting.

False

You are limited to using one pipe | metacharacter on the command line to pipe information from one command to another command.

False

Administrators most commonly use a(n) graphical user interface.

False

Given the syntax command && command, the command on the left of the && construct is executed only if the command on the right of the && construct completed successfully.

False

Most printers are Plug and Play compatible and must be manually configured when they are plugged into the system.

False

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

False

To create an encrypted password for use in the /boot/grub/grub.conf, you can use the ____ command

grub-md5-crypt

To convert a system so that it uses an /etc/shadow file to store the encrypted password after installation, you can run the ____ command.

pwconv

The ____ option to the ps command displays all processes that do not run on terminals.

x

in a decision construct, you can have an unlimited number of if then statements.

True

The skeleton directory on most Linux systems is ____.

/etc/skel

If your system uses the X.org implementation of X Windows, the mouse, keyboard, monitor, and video adapter card information is stored in the ____ file in text format.

/etc/X11/xorg.conf

In Linux, runlevel ____ is also known as multiuser mode.

2

The two most common desktop environments that are used on Linux are ____ and ____.

KDE; GNOME

The ____ kill signal stops a process and then restarts it with the same PID.

SIGHUP

The ____ 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

____ of the GRUB boot loader typically resides on the Master Boot Record.

Stage 1

Aliases are shortcuts to commands stored in special variables that can be created and viewed using the alias command.

True

Any command that can be executed on the command line can also be placed inside any environment file.

True

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

True

If you are using a Linux boot loader to dual boot another operating system in addition to Linux, it is easiest if Linux is installed after the other operating system has been installed.

True

While a process is waiting for its parent process to release the PID, the process is said to be in a(n) zombie state.

True

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

True

You can use the sed command to remove unwanted lines of text.

True

____ is a freely available version of X Windows used in many Linux distributions.

XFree86

Most configuration files on Linux systems are delimited using ____ characters.

colon


Kaugnay na mga set ng pag-aaral

RN Pharmacology Online Practice 2016 B

View Set

Chapter 8 Body Organization and Structure

View Set

AP Art History: Medieval, Romanesque, Gothic

View Set

English Exam 1: Gooseberry Article

View Set

ACCT42 Mid-term Study Guide Chapter 16

View Set

CHAPTER 24: MEASURING THE COST OF LIVING

View Set