Act now and download your CompTIA LX0-103 test today! Do not waste time for the worthless CompTIA LX0-103 tutorials. Download Leading CompTIA CompTIA Linux+ [Powered by LPI] 1 exam with real questions and answers and begin to learn CompTIA LX0-103 with a classic professional.
Q1. - (Topic 3)
What happens after issuing the command vi without any additional parameters?
A. vi starts and loads the last file used and moves the cursor to the position where vi was when it last exited.
B. vi starts and requires the user to explicitly either create a new or load an existing file.
C. vi exits with an error message as it cannot be invoked without a file name to operate on.
D. vi starts in command mode and opens a new empty file.
E. vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text.
Answer: D
Q2. - (Topic 3)
Which of the following commands will print the last 10 lines of a text file to the standard output?
A. cat -n 10 filename
B. dump -n 10 filename
C. head -n 10 filename
D. tail -n 10 filename
Answer: D
Q3. CORRECT TEXT - (Topic 2)
Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)
Answer: dpkg-reconfigure
Q4. - (Topic 4)
Which of the following is the device file name for the second partition on the only SCSI drive?
A. /dev/hda1
B. /dev/sda2
C. /dev/sd0a2
D. /dev/sd1p2
Answer: B
Q5. - (Topic 4)
Creating a hard link to an ordinary file returns an error. What could be the reason for this?
A. The source file is hidden.
B. The source file is read-only.
C. The source file is a shell script.
D. The source file is already a hard link.
E. The source and the target are on different filesystems.
Answer: E
Q6. CORRECT TEXT - (Topic 4)
Which umask value will result in the default access permissions of 600 (rw-------) for files and 700 (rwx------) for directories? (Specify only the numerical umask value.)
Answer: 0077, 077
Q7. - (Topic 3)
Which character, added to the end of a command, runs that command in the background as a child process of the current shell?
A. !
B. +
C. &
D. %
E. #
Answer: C
Q8. - (Topic 3)
What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?
A. 9
B. 19
C. 49
D. 99
Answer: B
Q9. - (Topic 4)
Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)
A. /sbin/mke2fs -j /dev/sdb1
B. /sbin/mkfs -t ext3 /dev/sdb1
C. /sbin/mkfs -c ext3 /dev/sdb1
D. /sbin/mke3fs -j /dev/sdb1
Answer: A,B
Q10. - (Topic 3)
Which shell command is used to continue background execution of a suspended command?
A. &
B. bg
C. cont
D. exec
E. :&
Answer: B