Files and paths · Question 1 of 12
Which command shows the files and subdirectories of a directory?
1 answer is correct. Easy Created with AI
Show answer
Answer
- C ls
Explanation
ls lists the contents of the current or a given directory. pwd only shows the path of the current directory, cd changes the directory, cat prints the contents of files.