linux commad to show directories 1

linux commad to show directories

// it will show all directories or folders not files...
ls -d */

Here is what the above code is Doing:
1. The -d option tells ls to list only the directories, not the files.
2. The */ tells ls to list all directories in the current directory.

Similar Posts