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.