CompTIA LX0-101 - Linux Part 1 Exam
Page: 3 / 24
Total 119 questions
Question #11 (Topic: Topic 1)
An administrator has just added a CD-ROM drive (/dev/hdd) to a system and added it to
the administrator's fstab. Typically the administrator can use which of the following
commands to mount media in that drive to /mnt/cdrom?
the administrator's fstab. Typically the administrator can use which of the following
commands to mount media in that drive to /mnt/cdrom?
A. mount /dev/cdrom /mnt/cdrom
B. mount /dev/cdrom
C. mount -t cdrom /dev/cdrom /mnt/cdrom
D. mount /mnt/cdrom
E. automount /mnt/hdd /mnt/cdrom}
Answer: D
Question #12 (Topic: Topic 1)
Which of the following Debian package system commands will list all partially installed
packages and suggest how to get them correctly installed?
packages and suggest how to get them correctly installed?
A. dpkg -C
B. apt-get -u
C. dpkg -Dh
D. dpkg -l
E. apt-get -y
Answer: A
Question #13 (Topic: Topic 1)
Which of the following is true when hard-linked files are present?
A. The output of stat will report "hard" instead of "regular file"
B. The hard-linked files may not be empty
C. Both files will share the same inode
D. Issuing a long directory listing with ls -l will indicate the link with "->"
E. The file permissions will be prefixed by an "h", eg. hrwxr-x-r-x
Answer: C
Question #14 (Topic: Topic 1)
Which of the following is the process ID number of the init program?
A. -1
B. 0
C. 1
D. It is different with each reboot.
E. It is set to the current run level.
Answer: C
Question #15 (Topic: Topic 1)
Which of the following commands will print to standard out only the lines that do not begin
with # (pound symbol) in the file foobar?
with # (pound symbol) in the file foobar?
A. /bin/grep ^# foobar
B. /bin/grep -v ^# foobar
C. /bin/grep #$ foobar
D. /bin/grep -v #$ foobar
Answer: B