Chapter 9. Exam 101 Practice Test
Exam 101 consists approximately of 65 questions. Most are multiple-choice single-answer, a few are multiple-choice multiple-answer, and the remainder are fill-in the blank questions. No notes or other materials are permitted, and you have 90 minutes to complete this exam. You can check your answers at the end of this chapter.
Questions
What two commands display the status of processes on a Linux system?
ls and df
ps and top
ps and df
df and top
du and df
What does the device file /dev/hdb6 represent?
An extended partition on a SCSI disk drive
A logical partition on a SCSI disk drive
An extended partition on an IDE disk drive
A primary partition on an IDE disk drive
A logical partition on an IDE disk drive
Which command will display the last lines of the text file file1?
head -b file1
head --bottom file1
head -v file1
tail file1
tail -n 1 file1
In the Bash shell, entering
!!
has the same effect as which one of the following?Ctrl-P and Enter
Ctrl-N and Enter
Ctrl-U and Enter
!-2
!2
Which of the following commands can be used to check an ext2 filesystem? Select three that apply.
fsck -ext2 /dev/hda5
fsck /dev/hda5
e2fsck /dev/hda5
fsck.ext2 /dev/hda5
fsck.linux /dev/hda5
In response to the df command, the system reports a
Use%
of98%
for the filesystem mounted on /home. Which one of the following best describes the significance of this information?Files on /home are consuming 98% of the physical disk.
File read/write activity on /home is consuming ...
Get LPI Linux Certification in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.