You may have all the switches in the world but unless you can use them when needed, they are all useless. Ls commnand is cool but with so many switches, it is kinda hard to remember them when needed. I created this list to help me remember the most useful switches, so i can concentrate on more interesting things.
Hopefully it will help somebody else out too.
To list all flies or directories that start with certain character(s) . The “-d” flag is very important.
ls -lad i*
List files In the current directory and below
ls -laR
List Files and Sort them By Size
ls -LaS
List files and sort them by Date
ls -ltrR
List Directories only
ls -d */
Flag Directories
ls -F
References
ls commands
http://www.computerhope.com/unix/uls.htm
du commands
http://www.computerhope.com/unix/udu.htm
df commands
http://www.computerhope.com/unix/udf.htm