CompTIA LX0-102 - Linux Part 2 Exam

Question #6 (Topic: Topic 1)
Which of the following commands will print the exit value of the previous command to the
screen in bash?
A. echo $? B. echo $# C. echo $exit D. echo $status E. echo $&}
Answer: A
Question #7 (Topic: Topic 1)
Which of the following is pool.ntp.org?
A. A deprecated feature for maintaining system time in the Linux kernel. B. A website which provides binary and source packages for the OpenNTPD project. C. A virtual cluster of various timeservers. D. A community website used to discuss the localization of Linux.
Answer: C
Question #8 (Topic: Topic 1)
In the following command and its output, echo $$ 12942 which of the following is 12942?
A. The process ID of the echo command. B. The process ID of the current shell. C. The process ID of the last command executed. D. The process ID of the last backgrounded command.
Answer: B
Question #9 (Topic: Topic 1)
An administrator can run the ________ command to see active network and UNIX domain
socket connections. (Please specify the command with no options or parameters).
Answer: /BIN/NETSTAT, NETSTAT
Question #10 (Topic: Topic 1)
By default, which directories contents will be copied to a new user's home directory when
the account is created, passing the -m option to the useradd command?
A. /ETC/SKEL, /ETC/SKEL/
Answer: A
Download Exam
Page: 2 / 36
Total 177 questions