Home > Bookmarks, Linux > Linux – List only Directories

Linux – List only Directories

September 23rd, 2007 Leave a comment Go to comments

1. ls -d */

2. ls -l | grep “^d”

3. find -L -maxdepth 1 -type d -name “*” ! -name “.*” -printf “%f\n”

4. find -L -maxdepth 1 -type d -name “*” ! -name “.*”

5. find -type d

Categories: Bookmarks, Linux Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.
GoCache - ByREV-Cache v1.0 - live served in : 0.170415 sec (gzip)