Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

listing all executables files 3

Status
Not open for further replies.

owenbrown

MIS
May 22, 2003
32
US
How can I do and ls -al of only executables files(755,777)?
 
you could grep for the permissions pattern, for example:
ls -al | grep rwxrwxrwx to list all the 777 permissions
 
You can try something like this:
Code:
find /path/to/dir -type f -perm -111

Hope This Help
PH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top