How to Find the List of Directories in a Directory in Linux/Mac OS X?

Anyone who has used command line on a terminal must used the linux command “ls” to list the files and directories in a directory. Simple use “ls” command will list directory and files in a given directory. Often you might want to know only about the directories in a directory. One can use the command […]