Computer Science - Unix - Discussion

Discussion Forum : Unix - Section 1 (Q.No. 24)
24.
Which of the following commands is used to list contents of directories?
ls
lp
dir
tar
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
2 comments Page 1 of 1.

Anshu Mishra said:   1 decade ago
dir also works, but the directories and files are not highlighted. Just their names are displayed.

Avinash said:   6 years ago
It has said that we have to list the content, dir only list the name of directory. So we need to use ls command for list the content of directory.

Post your comments here:

Your comments will be displayed after verification.