Computer Science - Linux - Discussion

Discussion :: Linux - Section 1 (Q.No.42)


What command is used to list contents of directories?

[A]. tar
[B]. dir
[C]. lp
[D]. ls
[E]. None of the above

Answer: Option D


No answer description available for this question.

Spanic said: (Jul 7, 2011)  
ls stands for list
ls -l will list long list.

Knell said: (Nov 30, 2014)  
ls list files and directories which are present in current directory.

Saurabh said: (Jun 7, 2020)  
ls command stands for list.

This command is used for listing the files in the directory.

ls -lh will list the files in a long list format and display the size in human-readable form.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.