Sunday, June 2, 2013

Listing only directories in Unix

Command : ls -ld */

[rajani@localhost ~]$ pwd
/home/rajani
[rajani@localhost ~]$ ls -ld */
drwxr-xr-x 2 rajani users 4096 Jun  2 11:52 a/
drwxr-xr-x 2 rajani users 4096 Jun  2 11:52 b/
drwxr-xr-x 2 rajani users 4096 Jun  2 11:52 c/
[rajani@localhost ~]$

No comments:

Post a Comment