Online Portal for Geeks
ls is a shell command in Linux OS that used to lists the directory content of files and directories. It helps in to provide the valuable information about files, directory and their attributes.
Syntax of command in Linux :-
$ ls [Option] [file/directory]
Example
$ ls
./ ../var/log/tmp/index.php
It will display the content of currently directory.