ls
Command ¶The ls
is used to display entries in a directory. The syntax for
ls
is as follows:
ls directory
The entries in the specified directory are displayed. If no directory is specified, entries in the current directory are displayed. Multiple directories can also be displayed at the same time by specifying more than one directory, or by using a pattern.