Test 2 Flashcards Preview

NETW-110 > Test 2 > Flashcards

Flashcards in Test 2 Deck (80)
Loading flashcards...
1
Q

There can be multiple device files per device.

A

False

2
Q

After a typical Fedora Linux installation, over 700 different device files are in the /dev directory.

A

True

3
Q

In Linux, you must use only one type of filesystem on a system.

A

False

4
Q

When you insert a DVD while in a GUI environment, it is automatically mounted by the system to a directory underneath the /media directory that is named for the label on the DVD.

A

True

5
Q

The more filesystems that are used on a system, the less likely a corrupted filesystem will interfere with normal system operations.

A

True

6
Q

To prevent a file from being cleared by the BASH shell and append output to the existing output, you can specify three > metacharacters alongside the file descriptor.

A

False

7
Q

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

A

False

8
Q

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

A

True

9
Q

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

A

True

10
Q

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.

A

False

11
Q

GRUB must be reinstalled after editing its configuration file.

A

False

12
Q

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.

A

True

13
Q

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

A

False

14
Q

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

A

True

15
Q

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

A

True

16
Q

Each process can start an unlimited number of other processes.

A

True

17
Q

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

A

False

18
Q

The killall command uses the PID to kill a process.

A

False

19
Q

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

A

True

20
Q

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.

A

True

21
Q

Devices that transfer data in a character-by-character fashion are referred to as ____ devices.

A

Character

22
Q

The ____ device file represents the first primary partition on the second IDE hard disk drive (primary slave).

A

/dev/hdb1

23
Q

The ____ device file represents the second serial port on the system (COM2).

A

/dev/ttyS1

24
Q

If you do not know the type, major, or minor number of a device, you can use the ____ command to re-create the device based on the common name.

A

/dev/MAKEDEV

25
Q

The ____ filesystem is used by software programs that write to a CD-RW or DVD-RW drive.

A

udf

26
Q

The ____ filesystem contains most of the operating system files.

A

Root

27
Q

To mount all filesystems in the /etc/fstab file that are intended to mount at boot time, you can simply type the ____ command.

A

mount -a

28
Q

CD-ROMs typically use the ____ filesystem type.

A

ISO9660

29
Q

Linux requires ____ partition(s) at minimum.

A

Two

30
Q

Data is read off of hard disks in concentric circles called ____.

A

Tracks

31
Q

To create partitions after installation, you can use the ____ command.

A

fdisk

32
Q

The easiest method for monitoring free space by mounted filesystems is to use the ____ command.

A

df

33
Q

Errors on a filesystem are often referred to as filesystem ____ and are common on most filesystems.

A

Corruption

34
Q

To check a filesystem for errors, you can use the ____ command, which can check filesystems of many different types.

A

fsck

35
Q

You can edit the quotas for certain users by using the ____ command.

A

edquota

36
Q

The file descriptor stderr is represented by the number ____.

A

2

37
Q

You can use the BASH shell to redirect standard output and standard error from the terminal screen to a file on the filesystem using the ____ shell metacharacter followed by the absolute or relative pathname of the file.

A

>

38
Q

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

A

<

39
Q

You can send the standard output of one command to another command as standard input using the ____ shell metacharacter.

A

|

40
Q

The ____ command counts the number of lines, words, and characters in a file.

A

wc

41
Q

The ____ command can be used to extract, manipulate, and format text using pattern-action statements.

A

awk

42
Q

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

A

Colon

43
Q

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

A

set

44
Q

The ____ command could be used to view the contents of the environment variable that represents the BASH shell prompt.

A

echo $PS1

45
Q

To see a list of all exported environment and user-defined variables in the shell, you can use the ____ command.

A

env

46
Q

The ____ environment file is always executed immediately after login for all users on the system, and sets most environment variables, such as HOME and PATH.

A

/etc/profile

47
Q

If you have ____ permission to a shell script, you can execute the shell script like any other executable program on the system.

A

read and execute

48
Q

The ____ escape sequence represents a form feed.

A

\f

49
Q

The test statement ____ would be used to determine if A is numerically greater than B.

A

[ A -gt B ]

50
Q

The Linux kernel is stored in the ____ directory.

A

/boot

51
Q

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

A

Stage1

52
Q

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

A

grub-md5-crypt

53
Q

In the /etc/lilo.conf file, the ____ keyword specifies the absolute pathname to the Linux kernel.

A

image=

54
Q

In the /etc/lilo.conf file, the ____ keyword specifies the file that contains the physical layout of the disk drive.

A

install=

55
Q

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

A

2

56
Q

A Linux system in runlevel ____ is a system that has no daemons active in memory and is ready to be powered off.

A

0

57
Q

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

A

/etc/ec.d/rc.local

58
Q

You can use the ____ command to start, stop, or restart any daemons listed within the /etc/rc.d/init.d directory.

A

service

59
Q

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

A

ntsysv

60
Q

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

A

XFree86

61
Q

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

A

KDE; GNOME

62
Q

The ____ window manager is used for the GNOME desktop in Red Hat Fedora Core 2.

A

metacity

63
Q

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.

A

/etc/S11/xorg.conf

64
Q

To configure your keyboard, you can use the ____ command from either a GUI or terminal environment and restart X Windows.

A

system-config-keyboard

65
Q

After configuring X Windows, you can fine-tune the vsync and hsync of the video card using the ____ utility within the desktop environment.

A

xvidtune

66
Q

A system process that is not associated with a terminal is called a(n) ____ process.

A

daemon

67
Q

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

A

-e

68
Q

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.

A

process state

69
Q

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

A

x

70
Q

There are ____ different kill signals that the kill command can send to a certain process.

A

64

71
Q

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

A

SIGHUP

72
Q

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.

A

SIGQUIT

73
Q

You can execute ____ main types of Linux commands.

A

three

74
Q

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

A

&

75
Q

When killing a background job with the kill command, you must prefix the background job IDs by a(n) ____.

A

%

76
Q

When there are multiple background processes executing in the shell, the jobs command indicates the most recent one with a(n) ____ symbol.

A

+

77
Q

Processes are started with a nice value of ____ by default.

A

0

78
Q

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

A

-l

79
Q

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

A

sixth

80
Q

To create or edit a user cron table, you can use the ____ option to the crontab command.

A

-e