
CompTIA Linux+ [Powered by LPI] Exam 1 - LX0-101 Exam Questions
QUESTION NO: 1
Which of the following is the default process priority when a process is started using the nice command?
Which of the following is the default process priority when a process is started using the nice command?
Correct Answer: A
QUESTION NO: 2
An administrator wants to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. Which of the following commands should the administrator issue?
An administrator wants to preview where the package file, apache-xml.i386.rpm, will install its files before installing it. Which of the following commands should the administrator issue?
Correct Answer: A
QUESTION NO: 3
CORRECT TEXT
Upon booting a Linux box, an administrator notices a message scrolling by that does not look right, but it goes by so fast, the administrator does not have a chance to read it. What command could the administrator use to view that message after the boot process completes? (Please enter only a single command and do not enter duplicate answers in this field.)
CORRECT TEXT
Upon booting a Linux box, an administrator notices a message scrolling by that does not look right, but it goes by so fast, the administrator does not have a chance to read it. What command could the administrator use to view that message after the boot process completes? (Please enter only a single command and do not enter duplicate answers in this field.)
Correct Answer:
/bin/dmesg,dmesg
QUESTION NO: 4
Which of the following commands will print the inode usage on each mounted filesystem?
Which of the following commands will print the inode usage on each mounted filesystem?
Correct Answer: D
QUESTION NO: 5
CORRECT TEXT
What command will print the shared libraries for the file /usr/lib/libpng12.so? (Provide the full command with library name but without any other options or parameters).
CORRECT TEXT
What command will print the shared libraries for the file /usr/lib/libpng12.so? (Provide the full command with library name but without any other options or parameters).
Correct Answer:
/usr/bin/ldd/usr/lib/libpng12.so,ldd/usr/lib/libpng12.so
QUESTION NO: 6
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?
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?
Correct Answer: C
QUESTION NO: 7
Which of the following sed commands will replace all instances of the string foo with the string foobar changing the file file1.txt in place?
Which of the following sed commands will replace all instances of the string foo with the string foobar changing the file file1.txt in place?
Correct Answer: C
QUESTION NO: 8
Which of the following is the difference between the --remove and the --purge action with the dpkg command?
Which of the following is the difference between the --remove and the --purge action with the dpkg command?
Correct Answer: B
QUESTION NO: 9
The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. Which of the following is the usual way to pass this change to the kernel from the boot loader?
The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. Which of the following is the usual way to pass this change to the kernel from the boot loader?
Correct Answer: C
QUESTION NO: 10
Which of the following is the process ID number of the init program?
Which of the following is the process ID number of the init program?
Correct Answer: B




