Question 1: What section of the online user's manual and command reference holds administrative (not user) commands?
 Section 2
 Section s
 Section 1
 Section 8
 Section n
Question 2: What two commands will display the status of processes on a LINUX system?
 df and top
 ls and df
 ps and df
 ps and top
 du and df
Question 3: What do the device file /dev/hdb6 represent?
 A logical partition on an IDE disk drive
 An extended partiotion on a SCSI disk drive
 An extended partition on an IDE disk drive
 A logical partition on a SCSI disk drive
 A primary partition on an IDE disk drive
Question 4: Which command will display the last lines of text file file1?
 tail file1
 tail -n 1 file
 head --bottom file1
 head -v file1
 head -b file1
Question 5: In the bash shell, entering the !! command has the same effect as which one of the following?
 Ctrl-N and Enter
 Ctrl-P and Enter
 !-2
 !2
 Ctrl-U and Enter
Question 6: Which following commands can be used to check an ext2 filesystem?Select all that apply.
 fsck /dev/hda5
 fsck.linux /dev/hda5
 fsck.ext2 /dev/hda5
 fsck -ext2 /dev/hda5
 e2fsck /dev/hda5
Question 7: Name the command that displays pages from the online user's manual and command reference.
Question 8: In response to the df command, the system reports a Use% of 98% for the filesystem mounted on /home. Which one of the following best describes the significance of this information?
 Files on /home are consuming 98 percent of the physical disk.
 Inodes on /home are nearly exhausted.
 Files on /home are consuming 98 persent of the /home filesystem
 Inodes on /home are 98 persent free.
 File read/write activity on /home are consuming 98 persent of system I/O capacity.
Question 9: Of the following directories, which one is the most important to back up on a routine basis?
 /etc
 /root
 /usr
 /var
 /tmp
Question 10: Carolyn has a text file named quest_list containing 12 lines. She executes the following command. What is the result? # split -4 quest_list gl
 The first four columns in the text are written to new files aagl, abgl, acgl and adgl.
 The first four columns in the text are written to new files glaa, glab, glac and glad.
 The of guest_list are evently divided among new files glaa, glab and glac.
 The of guest_list are evently divided among new files aagl, abgl and acgl.
Question 11: Which one of the following commands would be best suitet to mount a CD-ROM containing a Linux distribution, without depending on any configuration files?
 mount /dev/cdrom /dev/hdc
 mount -t iso9660 /dev/cdrom /mnt/cdrom
 mount -t iso9660 /mnt/cdrom /dev/cdrom
 mount -f linux /dev/hdc /mnt/cdrom
 mount -t linux /dev/cdrom /mnt/cdrom
Question 12: An ext2 filesystem is configured with user quotas enabled. The soft limit is set at 100 MB per user, the hard limit is set at 110 MB per user, and the grace period is seven days. User bsmith already owns 90 MB of the data stored on the filesystem. What happens when bsmith writes a new file of size 30 MB?
 The write will fail, but the superuser can recover the entire file within seven days.
 The write will fail, and the file will be truncated permanently.
 The write will succeed, but the file will be avaible for only seven days.
 The write will succeed, but the file will be truncated permanently.
 The write will succeed, but the file will be truncatet in seven days.
Question 13: User jdoe, a member of the finance group,owns a text file with group owner finance and mode 0077. Which statements are true regarding access to view the contents of the file, assuming the directory that contains it has mode 0777? Select all that apply.
 jdoe can view the file`s contents.
 root cannot view the file`s content.
 Everyone in the finance group can view the file`s content including jdoe.
 jdoe can first change the protection mode of the file and then view the file`s content.
 Everyone in the finance group can view the file`s content exept jdoe.
Question 14: Which of the following commands displays the comments from a bash script? Select all that apply.
 sed -n '/^#/p' /etc/profile
 grep ^# /etc/passwd
 grep ^# /etc/init.d/httpd
 find "^#" /etc/rc.d/rc.local
 locate "^#" /etc/skel/.bashrc
Question 15: State the syntax to direct the standart output of cmd1 directly into the standart input of cmd2.
Question 16: Which of the following answers creates an environment variable VAR1,present in the environment of a bash child process?
 VAR1="fail" \ export VAR1
 VAR1="fail"
 VAR1="fail" ; export VAR1
 export VAR1 \ VAR1="fail"
 set VAR1="fail" ; enable VAR1
Question 17: Name the full path and name of the file that holds most of the information on sytem user groups.
Question 18: Which of the following directories must be part of the root filesystem? Select all that apply.
 /root
 /etc
 /usr
 /lib
 /home
Question 19: Name the facility that independently executes commands on a periodic basis for multiple users.
Question 20: Alex is currently working in a directory containing only one file, Afile1. What is displayed after the following commands are entered in bash? # MYVAR=ls # echo $MYVAR "$MYVAR" '$MYVAR' `$MYVAR`
 ls Afile1 Afile1 Afile1
 ls ls ls $MYVAR
 ls ls Afile1 Afile1
 ls ls $MYVAR Afile1
 Afile1 Afile1 Afile1 Afile1
Question 21: What does the & character do when placed at the end of a command? Select one
 It causes the process to be placed into the background
 It allows another command to be entered on the same line
 It causes the process to be stoped
 It causes the process to be placed into the foreground
 It restarts a stopped process
Question 22: Which one of the following commands could be used to change all uppercase characters to lowercase in the middle of a pipe?
 egrep
 pr
 wc
 tr
 grep
Question 23: What is the PID of init?
 1
 0
 unknown
 2
 undefined
Question 24: Which one of the following outcomes results from the following command? chmod g+s /home/software (directory)
 The sticky bit will be set for /home/software
 The SGID bit will be set for /home/software, in order to keep group memberchip of the directory consistent for all files created
 The SUID bit will be set for /home/software
 The SGID bit will be set for /home/software, preventing access by those not a member of the software group
 The sticky bit will be applied to all files in /home/software
Question 25: Which one of the following commands is equivalent to the following command for user jdoe whose home dirctory is /home/jdoe? chmod 754 ~/file1
 chmod 754 /usr/jdoe/file1
 chmod ugo=rwx ~/file1
 chmod u=7, g=5, o=4 ~/file1
 chmod u=rwx, g=rx, o=r /home/jdoe/file1
 chmod 754 \home\jdoe\file1
Question 26: What command and single required option creates a symbolic link in a Linux ext2 filesystem
Question 27: What command can display the contents of a binary file in a readable hexadecimal form?
 od
 xd
 xd
 hd
 dump
Question 28: Which one of the following commands copies files with the .txt extension from /dir1 into /dir2, while preserving file attributes such as dates?
 cp -p /dir1/*.txt /dir2
 cp -k /dir1/*.txt /dir2
 mv --copy /dir1/*.txt /dir2
 mv /dir1/*.txt /dir2
 cp -p /dir2 < /dir1/*.txt
Question 29: Which one of the following file globs matches "Linux" and "linux" but not "linux.com" and not "TurboLinux"
 \L\linux
 [Ll]inux?
 [Ll]inux
 [L/linux]
 ?inux
Question 30: A process with PID 4077 is misbehaving on your system. As superuser, you enter the following command: # kill 4077 However, nothing changes as a result. What can you do to terminate the process?
  kill -1 4077
  kill +9 4077
  kill -9 4077
  kill 4078
  kill --die 4077
Question 31: Which one of the following key sequences is used to put a noninteractive text-mode program that is attached to the terminal into the background to allow it to continue processing?
 Ctrl-B
 Ctrl-B and then enter the bg command
 Ctrl-Z and then enter the bg command
 Ctrl-C
 Ctrl-Z
Question 32: What basic command is used to create hard disk partition?
Question 33: With a umask of 027, how is the initial mode set for a newly created file?
 1640
 0640
 0027
 0750
 1027
Question 34: Consider the following script stored in a file with proper modes for execution: for $v1 in a1 a2; do echo $v1; done Which one of the following best represents the output produced on a terminal by this script?
 a1 a2
 $v1 $v1 $v1
 No output is produced, because the script has an error
 in a1 a2
 No output is produced, but the script executes correctly
Question 35: Which one of the following commands verbosely extracts file from a tar archive on a magnetic tape device?
 tar cvf /dev/ttyS0
 tar xvf /dev/ttyS0
 tar xvf /dev/st0
 tar rvf /dev/st0
 tar cvf /dev/st0
Question 36: Alex wants to protect himself from inadvertently overwriting files when copying them, so he wants to alias cp to prevent overwrite. How should he got about this? Select one
 Put alias cp='cp -i' in ~/.bashrc_profile
 Put alias cp='cp -p' in ~/.bashrc_profile
 Put alias cp='cp -i' in ~/.bashrc
 Put alias cp=`cp -I` in ~/.bashrc
 Put alias cp='cp -p' in ~/.bashrc
Question 37: Which one of the follwing utilities ouputs a text file with line numbers along the left margin?
 tr
 tar
 nl
 wc
 ln
Question 38: The following line comes from the /etc/fstab. Which of the statements is accurate given the contents of this line? Choose all that apply " /dev/fd0 /mnt//fd0 vfat noauto,users 0 0
 Users are prohibited from mounting and unmounting the filesystem.
 Users are permitted to mount and unmount the filesystem
 The filesystem is on the floppy disk
 The filesystem will be mounted on the point /dev/fd0.
 The filesystem is expected to be a linux native file system.
Question 39: Which of the follwing expression is an accurate statement regarding this regular expression? [^1-8A-Za-z]
 It matches characters other letters or numbers
 It matches all letters and numbers.
 It matches all letters and numbers except 9.
 It matches 9,0 and other nonletter and nonnumber characters.
 It matches all letters and numbers except 9and 0, but only at the beginning of a line.
Question 40: Monica consults the /etc/passwd file expecting to find encrypted passwords for all the users on her system. She sees the following: jdoe:x:500:500::/home/jdoe:bin/bash bsmith:x:501:501::/home/bsmith:/bin/tcsh Which of the following is true? Select one
 The passwords are in the /etc/shadow-
 The passwords are in the /etc/shadow
 Account jdoe and bsmith are disabled.
 The passwords are in the /etc/passwd-
 Accounts of jdoe and bsmith have no password.
Question 41: Name the briefest form of the command to initiate a change to runlevel 5.
Question 42: Where does "The Linux System Administrators' Guide originate?
 O'Reilly and Associates, Inc.
 The Free Software Foundation.
 Usenet newsgroup "comp.os.linux".
 Red Hat Software, Inc.
 The Linux Documentation Project.
Question 43: What does the "sticky bit" do?
 It marks files for deletion.
 It marks files for archive.
 It prevents files from being deleted by nonowners including root.
 It prevents files from being deleted by nonowners except root.
 It prevents files from being deleted by anyone.
Question 44: What variable holds the list of directories searched by the shell to find executable programs?
Question 45: Which one of the following commands displays the full path and name of the executable program "myprog" that the shell would execute if "myprog" were entered as a command?
 find myprog
 which myprog
 find -name myprog
 apropos myprog
 locate myprog
Question 46: Alex executes the runlevel command and gets 3 5 as the response. What does this tell Alex? Select one
 The system default runlevel is improperly configured.
 The system is in runlevel 3 and the default is 5.
 The system does not have a default runlevel.
 The system was in runlevel 3 and is now in runlevel 5.
 The system is in runlevel 3 and will next go to runlevel 5.
Question 47: Which one of these files determines how message are stored using syslogd?
 /etc/conf.syslogd
 /etc/syslogd.conf
 /etc/conf.syslog
 /etc/syslog.conf
 /etc/sysconfig/logger.conf
Question 48: What does the pr command do?
 It paginates text files.
 It modifies the execution priority of a process.
 It prints files to the default printer.
 It displays a list of active processes.
 It modifies the command-line prompt.
Question 49: Dave has a Linux system with an interrupt conflict caused by his 3c5o9 network card. Dave's kernel is fully modular. How could Dave instruct the system to use interrupt 11 for his network adapter?
 Add options 3c509 irq=11 to /etc/conf.modules.
 Enter linux eth0=irq11 at the LILO boot loader prompt.
 Add ifup -irq 11 eth0 to /etc/rc.d/rc.sysinit.
 Add options irq=11 3c509 to /etc/conf.modules.
 Enter linux 3c509=irq11 at the LILO boot loader prompt
Question 50: What is contained in directory /sbin? Select the single best answer.
 Commands of interest to all system users.
 Commands of interest mainly to the administrator.
 Librairies needed in the event of an emergency.
 Commands needed in the event of a system emergency of interest to all system users.
 Commands needed in the event of a system emergency of interest mainly to the administrator.
Question 51: What ext2 filesystem attribute allows a process to take on the ownership of the executable files owner?
Question 52: What is appended to the beginning of a command line in order to modify the execution priority of the resulting process?
Question 53: How are the cat and tac commands related? select one
 cat creates file catalogs while tac displays the catalogs.
 The two commands are links to the same executable.
 cat concatenates files while tac splits a file into pieces.
 There is no relation or similarity between cat and tac
 cat displays files an tac does the same but in reverse order.
Question 54: With regard to the use of regular expressions to match text in a file, describe a metacharacter.
 They are used to display results after using a regular expression.
 They are standard text characters used in the regular expression.
 Metacharacters aren`t used in regular exepression.
 They are special control characters used in the regular expression.
 They are used by the shell to display graphics.
Question 55: How many IDE devices can be installed and simultaneously used in a typical Intel-based system?
 1
 3
 5
 4
 2
Question 56: Which one of the following would be a consequence of a filesystem running out of inodes?
 More inodes would be automatically created from the filesystem.
 The filesystem is marked readonly
 No writes would be possible on the filesystem until existing files were deleted.
 Quotas would become disabled on the filesystem.
 The filesystem would be corrupted.
Question 57: Consider the following line of console output, excerpted from among other lines of output. Which one of the commands produced it? /dev/hda8 1.9G 559M 1.2G 30% /home
 df -h
 du -k
 df -m
 du -s
 df -k
Question 58: How can you configure your system at shutdown time to supress fsck upon the next boot? Select one
 shutdown -F
 shutdown -f
 init 6
 init --supress 6
 shutdown -h
Question 59: Which one of the following is true about the LILO boot loader?
 It can start the Windows NT Loader.
 It resides entirely in the boot sector.
 It can start multiple Linux kernels, but no foreign operating systems.
 It is the only boot loader available for Linux
 It is started using the lilo command.
Question 60: Which one of the following statements correctly describes the > and >> symbols in the context of the bash shell?
 > appends standard output to a existing file, and >> writes standard output to a new file.
 > writes standard output to a new file , and >> appens standart output to an existing file
 > pipes standard output to an existing file and >> pipes standard error to a new file.
 > pipes standard output to a new file, and >> pipes standard output to an existing file.
 > writes standard error to a new file , and >> pipes standard output to an existing file.

End of questions