- it is used to list directory contents
ls # list files in current directory
ls -a # list all files in current directory including hidden files
ls -l # list detailed information about files in current directory
ls -la # combination of ls -a and ls -l
ls -l --author # list all files in current directory with author deatils
ls -t # sort by modification time, newest first.
ls -s # sort by file size