Which command lists SELinux context of file?
Multiple choice — select one answer
Answer choices
Architectural breakdown & explanation
ls -Z shows SELinux security context.
Correct answer(s): a. ls -Z
Exam domain: Domain 2: Security (21% weight on the official guide).
Official documentation & study links
Practice this certification
This page is one question from the CompTIA Linux+ bank. Run a full timed practice exam with domain-weighted random questions in your browser.