CompTIA Linux+ [Powered by LPI] - Exam 1 (LX0-103) Free Practice Test
Question 1
CORRECT TEXT
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Correct Answer:
jobs
Question 2
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
Correct Answer: D
Question 3
Which of the following commands will print the last 10 lines of a text file to the standard output?
Correct Answer: C
Question 4
Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)
Correct Answer: B,E
Question 5
Which of the following files, located in the user home directory, is used to store the Bash history?
Correct Answer: A
Question 6
Which of the following commands changes the ownership of file.txt to the user dan and the group staff?
Correct Answer: D
Question 7
What is the default action of the split command on an input file?
Correct Answer: B
Question 8
When starting a program with the nice command without any additional parameters, which
nice level is set for the resulting process?
nice level is set for the resulting process?
Correct Answer: D
Question 9
Which of the following environment variables overrides or extends the list of directories holding shared libraries?
Correct Answer: C