Pinpoint of LX0-103 actual test materials and software for CompTIA certification for candidates, Real Success Guaranteed with Updated LX0-103 pdf dumps vce Materials. 100% PASS CompTIA Linux+ [Powered by LPI] 1 exam Today!
2017 NEW RECOMMEND
Free VCE & PDF File for CompTIA LX0-103 Real Exam
Pass on Your First TRY 100% Money Back Guarantee Realistic Practice Exam Questions
Q11. – (Topic 1)
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
A. shutdown -R 1 now
B. shutdown -single now
C. init 1
D. telinit 1
E. runlevel 1
Q12. CORRECT TEXT – (Topic 3)
CompTIA LX0-103 : Practice Test
Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)
Q13. – (Topic 4)
What does the command mount -a do?
A. It mounts all available filesystems onto the current directory.
B. It shows all mounted filesystems.
C. It mounts all user mountable filesystems for the current user.
D. It mounts all filesystems listed in /etc/fstab which have the option auto set.
E. It mounts all filesystems listed in /etc/fstab which have the option noauto set.
Q14. – (Topic 2)
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
Q15. – (Topic 4)
Which of the following is the device file name for the second partition on the only SCSI drive?
Q16. – (Topic 1)
Which of the following statements is correct when talking about /proc/?
A. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
B. All files within /proc/ are read-only and their contents cannot be changed.
C. All changes to files in /proc/ are immediately recognized by the kernel.
D. All files within /proc/ are only readable by the root user.
Q17. – (Topic 3)
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
A. fmt -f 1,4 /etc/passwd
B. split -c 1,4 /etc/passwd
C. cut -d : -f 1,4 /etc/passwd
D. paste -f 1,4 /etc/passwd
88. – (Topic 3)
When running the command
sed -e "s/a/b/" /tmp/file >/tmp/file
While/tmp/file contains data, why is /tmp/file empty afterwards?
A. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.
B. The command sed did not match anything in that file therefore the output is empty.
C. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading.
D. Redirection for shell commands do not work using the > character. It only works using the | character instead.
Q18. – (Topic 3)
Which variable defines the directories in which a Bash shell searches for executable commands?
Q19. – (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
Q20. – (Topic 3)
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
B. foo bar
C. tee bar