Command line · Question 1 of 12

Which command lists the files of a directory on Linux?

1 answer is correct. Easy

Show answer

Answer

  • A ls

Explanation

ls shows the content of a directory, with -l in detail including permissions. cd changes the directory, pwd shows the current one, cat outputs file contents.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications