Q1. Which command lists all files/directories including hidden ones?
- A.ls -a✓ Correct
- B.ls -l
- C.ls -R
- D.ls -d
Explanation: The -a flag shows all entries, including those starting with . Learn more.
11 free, exam-style CompTIA Linux+ (XK0-006) practice questions covering File Management, each with the correct answer and an explanation. Start a timed exam below, or scroll on to read through the questions.
Answers and explanations are shown. Take the timed exam above to test yourself first.
Full CompTIA Linux+ practice exam · CompTIA Linux+ study guide · All CompTIA practice questions
Last updated