L
loryliu
Guest
in the man page of ls, -d means list the dorectories
when I issue ls -d ,I get nothing.
Anyone has an idea
when I issue ls -d ,I get nothing.
Anyone has an idea
$ ls -ld scripts
drwxr-xr-x 2 user user 4096 Jul 17 21:12 scripts
ls -la|grep ^d
ls -F | grep /
function lsd { local D="${1:-}"; command ls -d "${D%/}${D:+/}"*/; }
in the man page of ls, -d means list the dorectories
when I issue ls -d ,I get nothing.
Anyone has an idea