Unix - Engineering

Q1:

Which of the following commands is used to list contents of directories?

A ls

B lp

C dir

D tar

E None of the above

ANS:A - ls

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.