Shared Flashcard Set

Details

Linux Midterm
Midterm
51
Other
Undergraduate 1
08/25/2010

Additional Other Flashcards

 


 

Cards

Term
Which is the Bourne Shell?

/bin/sh
/bin/bash
/bin/ksh
/bin/csh
Definition
Ans: /bin/sh

pg 216
Term
What's the standard Linux shell?

sh
bash
ksh
csh
Definition
Ans: bash

pg 216
Term
What is a system-wide configuration file read by all shells that sets global configuration options?

~/.profile
/etc/profile
~/.bashrc
~/.bash_profile
Definition
Ans: /etc/profile

pg 217
Term
The first user-level configuration file that bash tries to find.

~/.bash_profile
~/.profile
~/.bashrc
/etc/profile
Definition
Ans: ~/.bash_profile

pg 217
Term
Which of these files is the only one read when a non-login shell is started?

~/.profile
/etc/profile
~/.bashrc
~/.bash_profile
Definition
Ans: ~/.bashrc

pg 217
Term
how to get bash shell to complete commands and filenames... Just enter first characters of command and press the what key?

Enter
Alt
Tab
Esc
Definition
Ans: Tab

218
Term
If your in a shell, you can become root by entering __ - and the root passwd

cu
profile
su
root
Definition
Ans: su

pg 221
Term
How do you turn a shell variable into an environment variable? You can use the __ command.

env
export
set
var
Definition
Ans: export

pg 226
Term
Whats an alias for mkdir in SUSE?

dir
type
md
alias
Definition
Ans: md

pg 226
Term
How do you define an alias?

define
set
alias
env
Definition
Ans: alias

pg 250
ie. 229
Term
which number is assigned stdout?

2
3
1
0
Definition
Ans: 1

pg 232
Term
How many KB of unprocessed data can exist in a pipe?

3
4
1
2
Definition
Ans: 4

Pg 234
Term
To return to command mode from insert mode in vi you press ___

Alt
Ctrl
Esc
F1
Definition
Ans: Esc

pg 246
Term
To copy into buffer, and delete a line the cursor is on in vi you press ___

D
c
dd
Delete
Definition
Ans: dd

pg 246
Term
How would you replace the first colon in each line with a space?

sed 's/:/ /0' /etc/passwd
sed 's/:/ /f' /etc/passwd
sed 's/:/ /g' /etc/passwd
sed 's/:/ /' /etc/passwd
Definition
Ans: sed 's/:/ /' /etc/passwd

pg 248
Term
What's the max length of characters a path can hold, including slashes?

1024
4096
4024
696
Definition
Ans: 4096

pg 204
Term
This directory doesn't necesarily have to be on the same partition as the root.

/dev/
/etc/
/usr/
/lib/
Definition
Ans: /usr/

p202
Term
What if you want to copy files byte-wise

/bin/cp
/bin/dd
/bin/vi
/bin/cat
Definition
Ans: /bin/dd
Term
What file are user passwords contained in.

/etc/profile
/etc/shadow
/etc/hosts
/etc/passwd
Definition
Ans: /etc/shadow

pg 202
Term
To modify the partitions?
/sbin/fsck
/sbin/fdisk
/sbin/mkfs
/sbin/yast
Definition
Ans: /sbin/fdisk

pg 202
Term
How do we search for files that contain certain patterns?

locate
search
find
grep
Definition
Ans: grep

pg 203
ie 179
Term
Which is the user's private login script

.bash_history
init.d
.profile
.bashrc
Definition
Ans: .profile

pg 217
Term
Shortcut to get to the home directory of a user?

@
~
/
!
Definition
Ans: ~

pg 226
Term
What dir is standard for integrating a file system?

/dev/
/mnt/
/proc/
/sys/
Definition
Ans: /mnt/

pg 202
Term
data all in one piece addressed by one name.

Directories
Device Files
Normal Files
Sockets
Definition
Ans: Normal Files

pg 204
Term
~/.xinitrc has a template named .xinitrc.template. Which user account directory is it located in?

config
root
home
usr
Definition
Ans: home

pg 204
Term
X-server login screen can be relayed to a ____.

Remote Server
Remote Host
terminal
Window Manager
Definition
Ans: remote host
Term
What do you have to enter, for security reasons when rebooting or shutting down the computer?

sys password
etc password
root password
shutdown password
Definition
Ans: root

pg 54

pg 204
Term
What is it that allows Linux to act as if you had several terminals available at the same time?

virtual frames
vertual windows
virtual desktops
virtual terminals
Definition
Ans: virtual terminals

pg 204
Term
How many virtual terminals run by default?

five
two
five
six
four
Definition
Ans: six

pg 70
Term
utility used to configure the screen dimension Width, height.

xvidtune
xf86config
XFree86
XF86Config
Definition
Ans: xvidtune

pg 140
Term
X-server config utility (text based)

XFree86
XF86Config
xf86config
xvidtune
Definition
Ans: xf86config

pg 136
Term
Environmental variable that stores display name for your system

NAME
DEFAULT
DISPLAY
SYSTEM
Definition
Ans: DISPLAY

pg 222
Term
Authentication method, where user account data is managed centrally by a NIS server...

NIS
LDAP
Local /etc/passwd
Remote /etc/shadow
Definition
Ans: NIS
Term
____ performance is established by regularly analyzing the performance of a healthy system during normal operating hours.

a. Top b. Free c. DHCP d. Baseline
Definition
Ans: Baseline
Term
Examples of command line utilities that you can use to analyze system performance are: top, free, and ____.

a. vmstat b. cat c. vi d. pine
Definition
Ans: vmstat
Term
The X-Window System is simply called X or ____. a. X3 b. X5 c. X9 d. X11
Definition
Ans: X11
Term
Two important applications for getting help in SUSE Linux Enterprise Server are the SUSE ____ and Konqueror.
a. HelpCenter b. LifeSaver c. LifeCenter d. HelpSaver
Definition
HelpCenter
Term
To access the HelpCenter, select the ____ icon in the Kicker. a. circle with the letter “N” b. “k” with letter c. lifesaver d. question mark
Definition
Ans: lifesaver
Term
____ is an abbreviation for teletype, which is another word for terminal. a. tty b. ter c. ttq d. qt
Definition
Ans: tty
Term
____ is an abbreviation of manual or man page. a. man b. info c. howto d. help
Definition
man
Term
____ lets you select a graphical display mode (such as 640x480 or 1024x768) for the installation. a. F1 b. F2 c. F3 d. F4
Definition
Ans: F2
Term
By default, diagnostic messages of the Linux kernel are not displayed during system startup. To display maximum information, select ____.
a. Show b. Debug c. Verbose d. Native
Definition
Ans: Verbose
Term
In the KDE control center, you can increase the number of usable virtual desktops up to ____. a. 10 b. 11 c. 13 d. 16
Definition
Ans: 16
Term
In SUSE Linux Enterprise Server (SLES), the manual pages are located in the directory ____. a. /share/usr/man/ b. /usr/share/man/ c. /usr/man/ d. /etc/man/pages
Definition
Ans: /usr/share/man/
Term
The ____ command is used to search the manual pages by keyword. a. cat b. vi c. apropos d. top
Definition
Ans: apropos
Term
Before you select Login at the login screen, you can start GNOME instead of KDE by selecting ____ from the Menu drop-down list.
a. GRUB > GNOME b. Desktop > GNOME c. SessionType > GNOME d. ActionMode > GNOME
Definition
Ans: SessionType > GNOME
Term
To quit GNOME, select ____ in the GNOME panel. a. GNOME > Log Out b. Actions > Log Out c. Session > Log Out d. Terminal > Log Out
Definition
Ans: Actions > Log Out
Term
The ____ Installation Settings section lists details about your hardware. a. System b. Mode c. Keyboard Input d. Partitioning
Definition
Ans: System
Term
When you are ready to log out of the system, open the KDE menu by selecting the ____ icon in the bottom panel.
a. firs b. second c. third d. fourth
Definition
Ans: first
Term
When you are ready to log out of the system, open the KDE menu by selecting the ____ icon in the bottom panel.
a. firs b. second c. third d. fourth
Definition
Ans: first
Supporting users have an ad free experience!