1. How do I find files in a directory with specific
file permissions?
(List all files with executable permission to user,
numeric mode)
find <path> -perm -u=+x find <path> -perm -0500
pinfo find
2. How do I list only the sub-directories in a given
directory?
ls -l <parent_dir_path> | grep ^d find <parent_dir_path> -type d -maxdepth 1
shekhar http://shon.myensim.net -- ______________________________________________________________________ Pune GNU/Linux Users Group Mailing List: ([EMAIL PROTECTED]) List Information: http://plug.org.in/mailing-list/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.
