Midterm (Multiple Choice) Flashcards
Linux uses the freeware ____ shell as its default command interpreter.
a. Bash c. C
b. Bourne d. Korn
A
The UNIX/Linux ____ command displays the system date, which the system administrator maintains.
a. today c. system
b. sysdate d. date
D
You can use the ____ command to show the system calendar.
a. clndr c. cal
b. syscal d. calendar
C
To determine information about who is logged in, you can use the ____ command.
a. whatis
b. who
c. whois
d. whoami
B
In the Linux Bash shell, the ____ key combination moves the cursor to the previous letter.
a. Ctrl+b c. Alt+l
b. Alt+d d. Ctrl+a
A
In the Linux Bash shell, the ____ key combination deletes the content of the command line from the current cursor position to the end of the command line.
a. Ctrl+b c. Ctrl+k
b. Alt+d d. Ctrl+a
C
In the Linux Bash shell, the ____ key combination moves the cursor to the position just before the first character of the next word.
a. Alt+l c. Ctrl+k
b. Alt+d d. Ctrl+a
A
In the Linux Bash shell, the ____ key combination deletes a word or consecutive characters.
a. Ctrl+b c. Alt+l
b. Alt+d d. Ctrl+a
B
In the Linux Bash shell, the ____ key combination moves the cursor to the beginning of the command line.
a. Ctrl+b c. Alt+l
b. Alt+d d. Ctrl+a
D
You can type more than one command on the command line by separating commands with a ____.
a. vertical bar (|) c. semicolon (;)
b. colon (:) d. dash (-)
C
A ____ is used to refer to the user’s home directory.
a. dot (.)
b. dollar sign ($)
c. forward slash (/)
d. tilde (~)
D
You can change your password, if necessary, by using the ____ command, but you must know your current password to change it.
a. pwd c. passwd
b. chpwd d. password
C
The head and tail commands, allow you to view the first few or last few lines of a file (____ lines by default).
a. five c. fifteen
b. ten d. twenty
B
To append output to an existing file, you use ____.
a. > c. <
b.»_space; d. <
B
The UNIX file system (ufs) supports ____, which automatically move data on damaged portions of disks to areas that are not damaged.
a. hot fixes
b. backups
c. recovery fixes
d. extents
A
In Linux, the native file system is the ____, which is installed by default.
a. ufs c. ReiserFS
b. ext fs d. jfs
B
A(n) ____ is used to reduce file fragmentation, because a block of contiguous disk storage can be reserved for a file.
a. partition c. journal
b. node d. extent
D
The root of a file system is denoted by the ____.
a. dot (.) c. forward slash (/)
b. dot dot (..) d. backward slash ()
C
The ____ directory contains executables, which are the programs needed to start the system and perform other essential system tasks.
a. /boot c. /dev
b. /bin d. /etc
B
The ____ directory contains the kernel (operating system) images.
a. /boot c. /dev
b. /bin d. /etc
A
The ____ directory contains configuration files that the system uses when the computer starts.
a. /boot c. /dev
b. /bin d. /etc
D
When using the mount command, you use the ____ option to specify a file system to mount.
a. -f c. -t
b. -d d. -m
C
A(n) ____ path begins at the root level and lists all subdirectories to the destination file.
a. root c. absolute
b. primary d. relative
C
UNIX/Linux systems interpret ____ to mean the parent directory.
a. dot (.)
b. dot (..)
c. backward slash ()
d. forward slash (/)
B
You use the ____ command to display a directory’s contents, including files and other directories.
a. dir c. pwd
b. d d. ls
D