Term
Which is the Bourne Shell?
/bin/sh /bin/bash /bin/ksh /bin/csh |
|
Definition
|
|
Term
What's the standard Linux shell?
sh bash ksh csh |
|
Definition
|
|
Term
What is a system-wide configuration file read by all shells that sets global configuration options?
~/.profile /etc/profile ~/.bashrc ~/.bash_profile |
|
Definition
|
|
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
|
|
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
|
|
Term
If your in a shell, you can become root by entering __ - and the root passwd
cu profile su root |
|
Definition
|
|
Term
How do you turn a shell variable into an environment variable? You can use the __ command.
env export set var |
|
Definition
|
|
Term
which number is assigned stdout?
2 3 1 0 |
|
Definition
|
|
Term
How many KB of unprocessed data can exist in a pipe?
3 4 1 2 |
|
Definition
|
|
Term
To copy into buffer, and delete a line the cursor is on in vi you press ___
D c dd Delete |
|
Definition
|
|
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
|
|
Term
This directory doesn't necesarily have to be on the same partition as the root.
/dev/ /etc/ /usr/ /lib/ |
|
Definition
|
|
Term
What if you want to copy files byte-wise
/bin/cp /bin/dd /bin/vi /bin/cat |
|
Definition
|
|
Term
What file are user passwords contained in.
/etc/profile /etc/shadow /etc/hosts /etc/passwd |
|
Definition
|
|
Term
To modify the partitions? /sbin/fsck /sbin/fdisk /sbin/mkfs /sbin/yast |
|
Definition
|
|
Term
How do we search for files that contain certain patterns?
locate search find grep |
|
Definition
|
|
Term
Which is the user's private login script
.bash_history init.d .profile .bashrc |
|
Definition
|
|
Term
Shortcut to get to the home directory of a user?
@ ~ / ! |
|
Definition
|
|
Term
What dir is standard for integrating a file system?
/dev/ /mnt/ /proc/ /sys/ |
|
Definition
|
|
Term
data all in one piece addressed by one name.
Directories Device Files Normal Files Sockets |
|
Definition
|
|
Term
~/.xinitrc has a template named .xinitrc.template. Which user account directory is it located in?
config root home usr |
|
Definition
|
|
Term
X-server login screen can be relayed to a ____.
Remote Server Remote Host terminal Window Manager |
|
Definition
|
|
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
|
|
Term
X-server config utility (text based)
XFree86 XF86Config xf86config xvidtune |
|
Definition
|
|
Term
Environmental variable that stores display name for your system
NAME DEFAULT DISPLAY SYSTEM |
|
Definition
|
|
Term
Authentication method, where user account data is managed centrally by a NIS server...
NIS LDAP Local /etc/passwd Remote /etc/shadow |
|
Definition
|
|
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
|
|
Term
The X-Window System is simply called X or ____. a. X3 b. X5 c. X9 d. X11 |
|
Definition
|
|
Term
____ is an abbreviation for teletype, which is another word for terminal. a. tty b. ter c. ttq d. qt |
|
Definition
|
|
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
|
|
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
|
|
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
|
|
Term
The ____ command is used to search the manual pages by keyword. a. cat b. vi c. apropos d. top |
|
Definition
|
|
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
|
|
Term
The ____ Installation Settings section lists details about your hardware. a. System b. Mode c. Keyboard Input d. Partitioning |
|
Definition
|
|
Term
Manual page section that contains problems with the command
DIAGNOSTICS COMMANDS SEE ALSO BUGS |
|
Definition
|
|
Term
Specialized Client applications...
virtual clients da5's window frames window managers |
|
Definition
|
|
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
|
|
Term
Linus Torvalds took the Linux Kernel source code and made it available through ___
DNS License payware license GPL Shareware License |
|
Definition
|
|
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
|
|
Term
Where in Linux do you go to install software and also for administration tools Apache YaST XFree X11 KDE Desktop Environment |
|
Definition
|
|
Term
what other source of information on Linux can you use?
Hotmail.com Newegg.com Google.com Universal.com |
|
Definition
|
|
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
|
|
Term
What part of a manual page has the description of the command syntax?
OPTION DESCRIPTION SYNOPSIS NAME |
|
Definition
|
|
Term
What program displays one screen of information at a time?
top next less grep |
|
Definition
|
|
Term
The ____ Installation Settings section identifies the layout of your keyboard. a. System b. Mode c. Keyboard Layout d. Partitioning |
|
Definition
|
|
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
|
|
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
|
|
Term
____ can be used to move one directory level higher. a. cd b. cd c. cd ../.. d. cd .. |
|
Definition
|
|
Term
____ is the default login manager in SLES. a. dm b. kdm c. gdm d. xdm |
|
Definition
|
|
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
|
|
Term
The ____ command is used to copy files from one machine to another. a. rput b. rupload c. rcopy d. rcp |
|
Definition
|
|
Term
To securely log in to a remote machine, enter ____. a. telnet host b. rlogin host c. ssh host d. rsh host |
|
Definition
|
|
Term
In Linux, the separation character between individual directory names is the ____ character. a. / b. \ c. d. _ |
|
Definition
|
|
Term
____ is the device file of the first serial port. a. /dev/tty1 b. /dev/ttyS0 c. /dev/lp0 d. /dev/scd0 |
|
Definition
|
|
Term
By default, the head and tail commands only show ____ lines. a. 5 b. 10 c. 15 d. 20 |
|
Definition
|
|
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
|
|
Term
Permission ____ is equivalent to rwx. a. 5 b. 6 c. 7 d. 8 |
|
Definition
|
|
Term
Runlevel ____ is the multiuser mode with network and display manager. a. 1 b. 2 c. 3 d. 5 |
|
Definition
|
|
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
|
|
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
|
|
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
|
|
Term
For a simple port scan, the program ____ is more suitable than netcat. a. route b. nmap c. traceroute d. ping |
|
Definition
|
|
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
|
|
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
|
|
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
|
|
Term
To unmount file systems that the kernel thinks are busy, enter: ____. a. umount b. umount -a c. umount -f d. umount -t |
|
Definition
|
|
Term
____ is an implementation of SMB over native TCP/IP that does not require NetBIOS. a. SAMBA b. CIFS c. NFS d. DNS |
|
Definition
|
|
Term
You can use the ____ command to start a printer queue. a. enable b. accept c. lpadmin d. lpd |
|
Definition
|
|
Term
The Berkeley3 command to submit a print job is ____. a. lp b. lpr c. lpd d. prn |
|
Definition
|
|
Term
You can check to make sure you are root by entering id or ____. a. whois b. who c. which d. whoami |
|
Definition
|
|
Term
____ variables control the behavior of the shell itself and are only relevant locally. a. Environment b. Shell c. Control d. User |
|
Definition
|
|
Term
To refer to an existing value, the shell variable must be prefixed with the ____ sign. a. | b. # c. ยด d. $ |
|
Definition
|
|
Term
____ ends vi without saving changes in the file. a. :q b. :q! c. :wq d. :x |
|
Definition
|
|
Term
stderr is assigned the number ____. a. 0 b. 1 c. 2 d. 3 |
|
Definition
|
|