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 have used the linux command “ls” to list the files and directories in a directory. Simple use of “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… Continue reading How to Find the List of Directories in a Directory in Linux/Mac OS X?