Quote:
Originally Posted by lleb
i just turn it into an alias:
Code:
alias dird='/bin/ls -laFp | grep /'
|
Indeed, alias is useful.

But, the above also lists symbolic links for absolute paths which are not directories.
For example,
Code:
ln -s /path path
ls -laFp|grep /
lists "path -> /path".
To suppress it, you can
But I prefer
Or to suppress . and .. ,
Or
Code:
find -maxdepth 1 -mindepth 1 -type d
You can read manual of ls or find by