Answered Questions

  • What is the command one can use to list only the directory names?

    Before answering this question it is important one should know about ls command in detail in UNIX or LINUX operating system. ls command without any option is used to list files and this command list files generally in alphabetical order. That is the command list the files present in a directory with one file per line displayed on the screen. Simply using s command without any option display all files...

    vnanda

    • Jun 22nd, 2007

    Find . -type d It would list the names of all the directories in current directory recursively.ThanksVikram Nanda