ls — List directory contents
List the current directory contents and informations. This is one important command you would be using all the time. It is synonymous with the dir command in DOS.
$ ls — Alphabetically list all files and dir
$ ls -r — Reverse order
$ ls –color=always — Output in color
$ ls -F — Files are classified with /@|= symbols
$ ls -1 — Output in single column
$ ls -a — Display hidden entries starting with .
$ ls -R — Recursive output
$ ls -Q — Enclose entry names in double quotes
Read : man ls
Tech Tags: odoc linux gnu/linux ls list+files dir