Guide Flashcards

(50 cards)

1
Q

____ variables are used to store information about the setup of the operating system, and after they are set up, you typically do not change them.

A

A ) Global
B ) Environment
*C ) Configuration
D ) Shell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The head and tail commands, allow you to view the first few or last few lines of a file (____ lines by default).

A

A ) five
*B ) ten
C ) fifteen
D ) twenty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A program’s high-level language statements are stored in a file called the ____ file.

A

A ) shell
B ) script
C ) program
*D ) source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When you use the du utility, file usage is expressed in the number of ____-byte blocks (default) or by the number of bytes (the -b option).

A

*A ) 512
B ) 1024
C ) 2048
D ) 4096

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the script that starts system services such as networking, printing, automated script execution, and many others?

A

A ) rc.sysinit
*B ) rc
C ) init
D ) rc.local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The ____ is the prompt symbol traditionally associated with ordinary users.

A

*A ) dollar sign ($)
B ) pound sign (#)
C ) tilde (~)
D ) percent sign (%)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Computer files containing nothing but printable characters are called ____ files.

A

*A ) text
B ) binary
C ) document
D ) ASCII

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Using the nice command without any options gives the process a nice level of ____.

A

A ) 0
B ) 5
*C ) 10
D ) 20

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In the Linux Bash shell, the ____ key combination deletes a word or consecutive characters.

A

A ) Ctrl+b
*B ) Alt+d
C ) Alt+l
D ) Ctrl+a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The ____ command removes duplicate lines from a file.

A

A ) grep
B ) dup
*C ) uniq
D ) diff

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

System administrators and programmers refer to standard output as ____.

A

A ) sout
B ) stout
*C ) stdout
D ) standardout

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You can start Emacs by entering the ____ command in the terminal window or at a command line in UNIX/Linux.

A

A ) e
B ) em
C ) emcs
*D ) emacs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

____gives the owner read, write, and execute permissions.

A

A ) chmod 155
B ) chmod 551
C ) chmod 577
*D ) chmod 755

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

____ is a multifunction tool that enables you to manage openSUSE from one location.

A

A ) User Manager
*B ) YaST
C ) Control Panel
D ) MC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The ____ directory contains configuration files that the system uses when the computer starts.

A

A ) /boot
B ) /bin
C ) /dev
*D ) /etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In KDE, there is a ____ that provides similar functions to the Panel in GNOME.

A

A ) K Menu
B ) Konsole
*C ) Kicker
D ) Konqueror

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How is the top command normally started?

A

*A ) top
B ) top -f
C ) top -o ps
D ) top z

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

In Linux, the native file system is the ____, which is installed by default.

A

A ) ufs
*B ) ext fs
C ) ReiserFS
D ) jfs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Currently, the ____ project, a joint effort of experts from industry, academia, and government, is working to standardize UNIX.

A

*A ) POSIX
B ) BSD
C ) ANSI
D ) Ubuntu

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Which run level is used for system maintenance, does not require logging in with a user name and password and does not provide networking capabilities?

A

A ) 0
*B ) 1
C ) 2
D ) 4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

A sorting ____ is a field position within each line.

A

A ) index
*B ) key
C ) column
D ) position

22
Q

In X Window terminology, the ____ provides the specific GUI appearance, software applications, and other resources that you use.

A

A ) theme
*B ) desktop
C ) Window Manager
D ) X client

23
Q

When processing the individual elements of an array, use the ____character.

A

A ) @
B ) #
*C ) $
D ) *

24
Q

When you assign a value to a variable, you might want to evaluate it by displaying its contents via a(n) ____ operator.

A

A ) definition
B ) echo
*C ) evaluating
D ) print

25
____ variables are those you create at the command line or in a shell script.
A ) Global B ) Environment C ) Configuration *D ) Shell
26
The ____ option to ps selects processes by PID number; to view information on a single process, enter its PID number as a value after the option.
A ) b B ) d *C ) p D ) r
27
The cp ____ option creates a symbolic link or name at the destination rather than a physical file.
*A ) -s B ) -y C ) -l D ) -n
28
The ____ utility maintains program source code.
*A ) make B ) patch C ) gcc D ) configure
29
To refer to a single element of a hash, you use the $ character before the variable name, followed by the key associated with the value in ____.
A ) parentheses *B ) curly brackets C ) square brackets D ) angle brackets
30
When you create a shell script to run in Bash, you can immediately run the script by typing ____and then the name of the script.
A ) run *B ) sh C ) start D ) exec
31
____ is the ability to port software to more or less powerful machines.
*A ) Scalability B ) Extensibility C ) Portability D ) Exportability
32
Scalar variable names begin with a(n) ____.
*A ) dollar sign ($) B ) asterisk (*) C ) pound sign (#) D ) exclamation sign (!)
33
A ____ is used to refer to the user’s home directory.
A ) dot (.) B ) dollar sign ($) C ) forward slash (/) *D ) tilde (~)
34
Fedora, Red Hat Enterprise Linux, SUSE, and Knoppix, recognize up to ____ characters in your user name.
A ) 8 B ) 16 *C ) 32 D ) 64
35
The line in the script for setting the Bash shell is: ____.
*A ) #!/bin/bash B ) !#/bin/bash C ) #/bin/bash D ) !/bin/bash
36
A ____ is a logic diagram that uses a set of standard symbols to visually explain the sequence of events from the start of a process to its end point.
*A ) flowchart B ) map C ) block chart D ) pseudocode
37
A popular X server system for Windows-based PCs is ____ from Hummingbird Connectivity.
*A ) Exceed B ) X-Win32 C ) Cygwin D ) Putty
38
____ is NOT a selection command.
A ) comm B ) diff C ) grep *D ) sed
39
You can change the pattern of permission settings by using the ____ command.
A ) chperm *B ) chmod C ) chsec D ) chown
40
The ____operator of the test command, combines two expressions and tests a logical OR relationship between them.
A ) | B ) || C ) -O /D ) -o
41
A(n) ____ is a small application written specifically to be placed on the GNOME Panel.
A ) widget B ) gadget /C ) applet D ) icon
42
The ____ command prints a listing of environment and configuration variables.
/A ) printenv B ) printvar C ) printf D ) bash
43
A simple way to delete a record using ____is with the -d (delete) option.
A ) awk /B ) sed C ) test D ) tr
44
To append output to an existing file, you use ____.
A ) > /B ) >> C ) < D ) <<
45
The ____ shell, when compared to the other shells, has a more powerful programming interface.
A ) Bourne /B ) Bash C ) C D ) Korn
46
To log out of UNIX/Linux (Bourne, Korn, or Bash shells) you can enter exit on the command line or press ____.
A ) Ctrl+l B ) Ctrl+g C ) Ctrl+x /D ) Ctrl+d
47
You can use the ____ boot parameter to tell Linux how much memory you really have.
A ) vm B ) set memory /C ) mem= D ) vmem=
48
____ are variables that store an ordered list of scalar values that are accessed with numeric subscripts, starting at zero.
A ) Strings /B ) Arrays C ) Lists D ) Hashes
49
In the GNOME graphical process management tool, which processes are displayed by default?
/A ) All processes B ) Processes run by root C ) Processes in the current shell D ) Processes started in the last 20 minutes
50
All of the files in the run level subdirectories of /etc/rc.d start with the letter ____.
A ) S /B ) S or K C ) K D ) R