Which of the following commands can be used by a user to display the list of contents existing in
his current user account?
Each correct answer represents a complete solution. Choose all that apply.
A.
echo *
B.
ls ~
C.
ls *
D.
pwd
Explanation:
The ls ~ and echo * commands can be used by a user to display the list of contents existing in his
current user account. While ~ forces a command to perform queries in the user’s home directory,
ls displays the contents of the home directory.