When I'm working in the shell, I frequently want to list only subdirectories of the current working directory. If you want to do this just add the following line to your ~/.bashrc
alias lsd="ls -1Fd * |grep '/'"
Then typing "lsd" at the bash prompt will get you a list of directories.
HTH, cheers!
alias lsd="ls -1Fd * |grep '/'"
Then typing "lsd" at the bash prompt will get you a list of directories.
HTH, cheers!