| Question 1: To see if httpd is currently running from a root login, which of the following command combinations would you use? |
 |
ps aux | grep httpd |
 |
ps httpd |
 |
ps aux | more |
 |
ps aux |
 |
ps aux > more |
|
| Question 2: Which command would you use to see only the last ten lines of a file? |
 |
head |
 |
less |
 |
more |
 |
tail |
 |
vi |
|
| Question 3: Which command would you use to see which devices are currently mounted onto the file system? |
 |
ls |
 |
dir |
 |
dev |
 |
list |
 |
df |
|
| Question 4: Which commands could you use to delete a directory? |
 |
remdir |
 |
rmdir |
 |
rm |
 |
rem |
 |
rm -rf |
|
| Question 5: Which command would you use to list the jobs in the print queue? |
 |
lpq |
 |
lpr |
 |
lpl |
 |
lpc |
 |
lprm |
|
| Question 6: Which command would you use in vi's command mode to delete the current character? |
 |
rm |
 |
dd |
 |
x |
 |
r |
 |
d |
|
| Question 7: Which command works to configure the X server regardless of distribution? |
 |
XF86Config |
 |
startx |
 |
sax |
 |
XF86Setup |
 |
Xconfigurator |
|
| Question 8: Which standard can you consult to help you find your way around a Linux system you've never used? |
 |
XML |
 |
GNU |
 |
FSSTND |
 |
GPL |
 |
HTML |
|
| Question 9: Which networking tool can you use to assign IP addresses to machines during the installation process? |
 |
httpd |
 |
SMTP |
 |
DHCP |
 |
FTP |
 |
TCP |
|
| Question 10: Which command can you use to create an empty file without opening it in an editor? |
 |
vi |
 |
make |
 |
more |
 |
touch |
 |
man |
|
| Question 11: What kind of firewall would you use to prevent people from knowing how many machines are behind the firewall? |
 |
TCP/IP blocking |
 |
TCP/IP |
 |
Proxy |
 |
tcp_wrapper |
 |
IP Filter |
|
| Question 12: Which of the following are passwords that would pass a Crack security check? |
 |
tooc00l |
 |
aMbfRc |
 |
toocool |
 |
5y2n3x1w |
 |
1on1 |
|
| Question 13: Which of the following is the umask for the permission set rwxr-xr-x? |
 |
022 |
 |
644 |
 |
755 |
 |
322 |
 |
311 |
|
| Question 14: Which of the following files must be created or edited in order to institute quotas on the /home partition? |
 |
/etc/quota.user |
 |
/quota.user |
 |
/home/[a]quota.group |
 |
/etc/fstab |
 |
/etc/quota.group |
|
| Question 15: What would you do if you forgot the root password and were not logged into the root account already? |
 |
su to root and change its password. |
 |
Change the password at the LILO prompt. |
 |
Reboot normally. |
 |
Boot into single user mode. |
 |
Reinstall Linux. |
|
| Question 16: Http packets travel under which protocol? |
 |
FTP |
 |
HTML |
 |
TCP |
 |
UDP |
 |
telnet |
|
| Question 17: Which command can you use to start building a configuration file for the ISA slot Plug and Play hardware in a Linux machine? |
 |
plugnplay |
 |
pnpedit |
 |
pnpconfig |
 |
pnpisa |
 |
pnpdump |
|
| Question 18: Which command can you use to load ISA slot Plug and Play configuration data during boot time? |
 |
isapnp |
 |
pnpisa |
 |
pnpload |
 |
isaload |
 |
isaconfig |
|
| Question 19: You have a vi session open in command mode and want to look at a man page, but don't want to have to change terminals. What would you type to be able to look at the man page without having to close the vi session? |
 |
exit |
 |
man command |
 |
Go to command mode and type wq |
 |
bg |
 |
Ctrl+Z |
|
| Question 20: You have your vi session in the background and are finished looking at that man page. What do you type to bring the vi session back up? |
 |
vi |
 |
up |
 |
bg |
 |
open |
 |
fg |
|
| Question 21: You have a non-text file that you want to print. Which program might you need to run it through before sending it to the print queue? |
 |
postscript |
 |
filter |
 |
if |
 |
ghostscript |
 |
of |
|
| Question 22: What should be on the first line of any bash shell script? |
 |
#!/bin/bash |
 |
/#!/bin/bash |
 |
#! |
 |
# |
 |
/bin/bash |
|
| Question 23: Which command would you use to verify that you can reach a known machine from the current machine? |
 |
ifconfig |
 |
ping |
 |
host |
 |
netconfig |
 |
netcfg |
|
| Question 24: Which of the following extensions refer to files that are compressed in some manner? |
 |
.tgz |
 |
.Z |
 |
.gz |
 |
.tar |
 |
.g |
|
| Question 25: Which two commands would you use open a .tgz file? |
 |
tar -xvf |
 |
gzip |
 |
tar |
 |
guntar |
 |
gunzip |
|
| Question 26: Which command would you use if you thought part of the file system was corrupt? |
 |
fsck |
 |
fdisk |
 |
mkfs |
 |
mke2fs |
 |
dd |
|
| Question 27: What would you type to mount an MS-DOS formatted floppy (without relying on /etc/fstab shortcuts)? |
 |
mount -t msdos /mnt/floppy /dev/fd0 |
 |
mount /dev/fd0 /mnt/floppy |
 |
mount -t vfat floppy |
 |
mount /mnt/floppy |
 |
mount -t vfat /dev/fd0 /mnt/floppy |
|
| Question 28: Which file system type would you use to mount a data CD-ROM? |
 |
cd |
 |
isocd |
 |
iso9660 |
 |
cdrom |
 |
iso960 |
|
| Question 29: Which command creates a soft link? |
 |
link -soft |
 |
link -s |
 |
ln |
 |
ln -soft |
 |
ln -s |
|
| Question 30: Which commands would you use to search for files in the file system? |
 |
which |
 |
what |
 |
where |
 |
find |
 |
locate |
|
| Question 31: Which commands format could you use to search for a file when you have no idea where in the file system it's located, but you do have a portion of the file name to go on? |
 |
find fragment |
 |
find / -name 'fragment' |
 |
locate fragment |
 |
find 'fragment' |
 |
find / fragment |
|
| Question 32: Which command updates the locate database? |
 |
/bin/update |
 |
locate -u |
 |
update -l |
 |
/usr/bin/updatedb |
 |
locate --update |
|
| Question 33: Which log file would you look in to find problems during the boot process? |
 |
/var/log/messages |
 |
/var/bootlog |
 |
/bootlog |
 |
/var/log/bootlog |
 |
/var/log/boot |
|
| Question 34: Which of the following are popular X desktop environments? |
 |
ldm |
 |
kdm |
 |
sdm |
 |
xdm |
 |
gdm |
|
| Question 35: Which command works on all distributions to remove a user account? |
 |
userdel |
 |
user -rm |
 |
rmuser |
 |
rm -user |
 |
deluser |
|
| Question 36: What does the user deletion command not remove? |
 |
The /etc/shadow entry |
 |
The /etc/passwd entry |
 |
The /etc/group entry |
 |
The home directory |
 |
Files outside the user's home directory |
|
| Question 37: Which command format can locate the ex-user's files within the file system? |
 |
find / user |
 |
find / * |
 |
find / -user UID |
 |
find / * -user username |
 |
find / * -user UID |
|
| Question 38: Which driver do you need to use a tape drive for backups? |
 |
ft0 |
 |
tape |
 |
ftape |
 |
tp |
 |
t0 |
|
| Question 39: Which command must you use before removing removable media? |
 |
mount -u |
 |
unmount |
 |
rmdisk |
 |
umount |
 |
rdisk |
|
| Question 40: Which keyboard combination changes virtual terminals in console mode? |
 |
Alt+Ctrl |
 |
Alt+ESC |
 |
Ctrl+F# |
 |
Alt+F# |
 |
Ctrl+ESC |
|
| Question 41: Which keyboard combination changes virtual terminals when in the GUI? |
 |
Ctrl+Alt+F# |
 |
Ctrl+ESC+F# |
 |
Shift+Ctrl+F# |
 |
Shift+Alt+F# |
 |
Ctrl+F# |
|
| Question 42: Which file would the superuser edit to set when weekly automated system jobs occur? |
 |
/usr/crontab |
 |
/bin/crontab |
 |
/etc/crontab.conf |
 |
~/crontab.conf |
 |
/etc/crontab |
|
| Question 43: Which command would a user type to edit his or her automated jobs? |
 |
cron --edit |
 |
cronedit |
 |
crontab |
 |
vi crontab |
 |
crontab -e |
|
| Question 44: Which file would the superuser edit to set all user login defaults? |
 |
/etc/login |
 |
/etc/.bashrc |
 |
/etc/.profile |
 |
/etc/.login |
 |
/etc/profile |
|
| Question 45: Which section of the file system is held entirely in RAM? |
 |
/boot |
 |
/proc |
 |
/usr |
 |
/tmp |
 |
/bin |
|
| Question 46: If a user tends to enter the GUI by typing "startx", which file would you edit to change that user's default desktop environment? |
 |
~/.xinitrc |
 |
/usr/X11R6/bin/.xsession |
 |
/etc/X11/Xclients |
 |
/etc/Xll/Xsession |
 |
~/.xclients |
|
| Question 47: What type of /etc/printcap item would you use to define which script or program all jobs going to a specific printer should pass through first? |
 |
if |
 |
sd |
 |
lp |
 |
lf |
 |
mx |
|
| Question 48: Which command lets you set the system time? |
 |
date -t |
 |
when |
 |
date --time |
 |
date |
 |
time |
|
| Question 49: What should you keep around in case of a machine crash? |
 |
spare CPU |
 |
spare monitor |
 |
spare case |
 |
backups |
 |
boot disk |
|
| Question 50: Which of the following strings fit in the pattern "d?d"? |
 |
dude |
 |
dad |
 |
dared |
 |
dread |
 |
did |
|
| Question 51: Which of the following strings fit in the pattern "d*d"? |
 |
raked |
 |
drained |
 |
did |
 |
dried |
 |
deed |
|
| Question 52: Which character signals programs, such as vi, more, and less, that you want to search for characters? |
 |
\ |
 |
S |
 |
R |
 |
/ |
 |
s |
|
| Question 53: If you wanted to add a new file to the all new user home directories for accounts you create in the future, where would you put it? |
 |
/etc/home |
 |
/home/skel |
 |
/etc/skel |
 |
/etc/usr |
 |
/home |
|
| Question 54: Which protocol do ping packets travel with? |
 |
FTP |
 |
TCP |
 |
DHCP |
 |
ICMP |
 |
UDP |
|
| Question 55: What would you type to determine the current network status? |
 |
net |
 |
status |
 |
netstat |
 |
netstatus |
 |
netstat -r |
|
| Question 56: If you have an IP address and want to know the domain name associated with it, which command would you use? |
 |
DNS |
 |
dnslookup |
 |
lookup |
 |
dns |
 |
nslookup |
|
| Question 57: Which permission bits must be turned on to run a shell script by just typing its name? |
 |
read-write |
 |
all |
 |
none |
 |
read |
 |
executable |
|
| Question 58: Which package allows for secure telnet connections? |
 |
PGPtelnet |
 |
sshtelnet |
 |
ssh |
 |
telnet |
 |
pgptelnet |
|
| Question 59: Which command is often used to prepare a downloaded package before compiling it? |
 |
make |
 |
compile |
 |
configure |
 |
gcc |
 |
./configure |
|
| Question 60: What is the first item run after LILO begins the boot process (not including the path)? |
 |
rc.sysinit |
 |
inittab |
 |
sysinit |
 |
init |
 |
rc.local |
|
| Question 61: Which kernel configuration options do you almost always change when compiling a custom kernel? |
 |
old CD-ROM drive support |
 |
processor speed |
 |
partition types |
 |
joystick support |
 |
amateur radio support |
|
| Question 62: Which command do you use to load a module into the kernel manually? |
 |
mod -a |
 |
addmod |
 |
insmod |
 |
mod -ins |
 |
mod -i |
|
| Question 63: Which hard drive BIOS setting would fix the 1024 cylinder problem in some cases? |
 |
repartioning |
 |
reformatting |
 |
compression |
 |
adding a second drive |
 |
LBA |
|
| Question 64: Which commands could you use to create a boot disk? |
 |
mkbootdisk |
 |
dd |
 |
makeboot |
 |
mkboot |
 |
make boot |
|
| Question 65: Which portions of the file system need to be cleaned out regularly so they don't overrun the rest of the file system? |
 |
/var/log |
 |
/etc |
 |
/bin |
 |
/tmp |
 |
/usr |
|
| Question 66: Which command combination would you use to join the text of two files into a third file? |
 |
less file1 file2 > file3 |
 |
cat file1 file2 > file3 |
 |
ls file1 file2 > file3 |
 |
file1 file2 > file3 |
 |
more file1 file2 > file3 |
|
| Question 67: What is the default Linux shell? |
 |
sh |
 |
csh |
 |
ksh |
 |
bash |
 |
tcsh |
|
| Question 68: What is the netmask for a class C IP address? |
 |
255.255.255.0 |
 |
255.0.0.0 |
 |
255.255.0.0 |
 |
255.255.255.255 |
 |
127.0.0.1 |
|
| Question 69: If a program locks up or hangs, what is one way that might get you out of it? |
 |
Ctrl+K |
 |
Alt+C |
 |
Alt+K |
 |
Ctrl+C |
 |
ESC |
|
| Question 70: Who do the first three items in a permission grouping refer to? |
 |
group |
 |
other |
 |
admin |
 |
users |
 |
owner |
|
| Question 71: Which log file should exist if you want to track failed logins to try to detect attempted breakins? |
 |
wtmp |
 |
btmp |
 |
logins |
 |
utmp |
 |
logins.failed |
|
| Question 72: Which program could you use to edit text files without needing to open them? |
 |
sed |
 |
grep |
 |
more |
 |
less |
 |
vi |
|
| Question 73: Which of the following formats will list all files in the series file01 through file09? |
 |
file* |
 |
file? |
 |
file?? |
 |
file[0-9][0-9] |
 |
file[0-9] |
|
| Question 74: Which command extracts an unused module from the kernel? |
 |
rmmod |
 |
mod -del |
 |
delmod |
 |
mod -rm |
 |
rm -mod |
|
| Question 75: Which command would you use to disable a printer? |
 |
lpc |
 |
lpr |
 |
lprm |
 |
lpx |
 |
lpq |
|