Shared Flashcard Set

Details

Linux Final
Linux Final
82
Internet/New Media
Undergraduate 1
09/03/2010

Additional Internet/New Media 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
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 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 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
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
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
____ is an abbreviation for teletype, which is another word for terminal. a. tty b. ter c. ttq d. qt
Definition
Ans: tty
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 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
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
Manual page section that contains problems with the command

DIAGNOSTICS
COMMANDS
SEE ALSO
BUGS
Definition
Ans: BUGS

p 77
Term
Specialized Client applications...

virtual clients
da5's
window frames
window managers
Definition
Ans: Window Managers
Term
How does Linux provide clients with a unified look and feel?

Virtual Desktops
Window Frames
Desktop Environments
Window Managers
Definition
Ans: Desktop Environments

P 50
Term
Which of these desktops is the standard for SLES 9?

twm
GNOME
KDE
Cygwin
Definition
Ans: KDE

P 50
Term
Linus Torvalds took the Linux Kernel source code and made it available through ___

DNS License
payware license
GPL
Shareware License
Definition
Ans: GPL

P 12
Term
The functions of the Kernel can include:

I/O Control
Device Control
Process Mgmt
All of the above
Definition
Ans: All of the Above

P 12
Term
One goal of UNIX was enabling many users at once which is known as

multitasking
multiprocessing
Multiuser
multiservice
Definition
Ans: Multiuser

P 14
Term
Where in Linux do you go to install software and also for administration tools Apache YaST XFree X11 KDE Desktop Environment
Definition
Ans: YaST   P94
Term
what other source of information on Linux can you use?

Hotmail.com
Newegg.com
Google.com
Universal.com
Definition
Ans: GOOGLE
Term
To remove a program from control panel, you right-click the icon in the CP and then select _____

Erase program name
Delete program name
Remove program name
Eliminate program name
Definition
Ans: Remove program name

P 58
Term
What was the language UNIX was rewritten in?

Pascal
C
Assembler
FORTRAN
Definition
Ans: C

P 10
Term
What part of a manual page has the description of the command syntax?

OPTION
DESCRIPTION
SYNOPSIS
NAME
Definition
SYNOPSIS

P 77
Term
What program displays one screen of information at a time?

top
next
less
grep
Definition
less
Term
The ____ Installation Settings section identifies the layout of your keyboard. a. System b. Mode c. Keyboard Layout d. Partitioning
Definition
Ans: Keyboard Layout
Term
The directory ____ provides information in the form of a tree structure on various hardware buses, hardware devices, active devices, and their drivers.
a. /sys/ b. /proc/ c. /dev/ d. /mnt/
Definition
Ans: /sys/
Term
____ represent links between the hardware components or the device drivers in the kernel and the applications.

a. Normal files b. Directories c. Device files d. Sockets
Definition
Ans: Device files
Term
____ can be used to move one directory level higher. a. cd b. cd c. cd ../.. d. cd ..
Definition
Ans: cd ..
Term
____ is the default login manager in SLES. a. dm b. kdm c. gdm d. xdm
Definition
Ans: kdm
Term
____ is a graphical utility that can be used to dial your modem to establish an Internet connection. a. cinternet b. Kdial c. Kinternet d. Konnect
Definition
Ans: Kinternet
Term
The ____ command is used to copy files from one machine to another. a. rput b. rupload c. rcopy d. rcp
Definition
Ans: rcp
Term
To securely log in to a remote machine, enter ____. a. telnet host b. rlogin host c. ssh host d. rsh host
Definition
Ans: ssh host
Term
In Linux, the separation character between individual directory names is the ____ character. a. / b. \ c. d. _
Definition
Ans: _
Term
____ is the device file of the first serial port. a. /dev/tty1 b. /dev/ttyS0 c. /dev/lp0 d. /dev/scd0
Definition
Ans: /dev/ttyS0
Term
By default, the head and tail commands only show ____ lines. a. 5 b. 10 c. 15 d. 20
Definition
Ans: 10
Term
PAM stands for ____. a. Personal Area Monitor b. Personal Assistant Module c. Pluggable Authentication Modules d. Priority Application Menu
Definition
Ans: Pluggable Authentication Modules
Term
You can use the command ____ to add or remove permissions. a. usermod b. chp c. chperm d. chmod
Definition
Ans: chmod
Term
Permission ____ is equivalent to rwx. a. 5 b. 6 c. 7 d. 8
Definition
Ans: 7
Term
Runlevel ____ is the multiuser mode with network and display manager. a. 1 b. 2 c. 3 d. 5
Definition
Ans: 5
Term
If you want to run a job one time only you can use the command ____. a. start b. init c. at d. cron
Definition
Ans: at
Term
In a class C address, the first byte is in the ____ range. a. 0 to 127 b. 128 to 191 c. 192 to 223 d. 224 to 239
Definition
Ans: 192 to 223
Term
You can use the command ____ to help you follow the route taken by an IP datagram to the given target host.
a. traceroute b. route c. netstat d. ping
Definition
Ans: traceroute
Term
For a simple port scan, the program ____ is more suitable than netcat. a. route b. nmap c. traceroute d. ping
Definition
Ans: nmap
Term
The command ____ is a diagnosis tool that lets you analyze data packets through a network interface connected to the network.
a. netstat b. netcat c. traceroute d. tcpdump
Definition
Ans: tcpdump
Term
To mount directories automatically when booting (such as the home directories of a server), you need to make corresponding entries in the file ____.
a. /etc/fstab b. /etc/mount c. /mnt/config d. /etc/rc.d/config
Definition
Ans: /etc/fstab
Term
After modifying the file /etc/fstab, you can have the system read the changes by entering ____. a. remount b. mount -a c. nfs d. rcnfsserver restart
Definition
Ans: mount -a
Term
To unmount file systems that the kernel thinks are busy, enter: ____. a. umount b. umount -a c. umount -f d. umount -t
Definition
Ans: umount -f
Term
____ is an implementation of SMB over native TCP/IP that does not require NetBIOS. a. SAMBA b. CIFS c. NFS d. DNS
Definition
Ans: CIFS
Term
You can use the ____ command to start a printer queue. a. enable b. accept c. lpadmin d. lpd
Definition
Ans: enable
Term
The Berkeley3 command to submit a print job is ____. a. lp b. lpr c. lpd d. prn
Definition
Ans: lpr
Term
You can check to make sure you are root by entering id or ____. a. whois b. who c. which d. whoami
Definition
Ans: whoami
Term
____ variables control the behavior of the shell itself and are only relevant locally. a. Environment b. Shell c. Control d. User
Definition
Ans: Shell
Term
To refer to an existing value, the shell variable must be prefixed with the ____ sign. a. | b. # c. ยด d. $
Definition
Ans: $
Term
____ ends vi without saving changes in the file. a. :q b. :q! c. :wq d. :x
Definition
Ans: :q!
Term
stderr is assigned the number ____. a. 0 b. 1 c. 2 d. 3
Definition
Ans: 2
Supporting users have an ad free experience!