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 question shows the correct answer and a clear explanation. Ready for the real thing? Take the full timed quiz below.