LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Find hidden executable files (https://www.linuxquestions.org/questions/linux-general-1/find-hidden-executable-files-64474/)

Wynd 06-09-2003 01:13 AM

Find hidden executable files
 
How can i use find to find all files that are a) hidden, b) a file (not a dir), and c) have execute permissions (doesn't matter who has them)?

cav 06-09-2003 01:51 AM

Well, at the command line you could always do

ls -a -p -l

which will list all the contents including hidden files, will show a / next to directories, and show permissions for each file. Im sure this isnt the best way of doing it.

whansard 06-09-2003 03:09 AM

maybe
find / -type f -perm +1 -name ".*" -print


All times are GMT -5. The time now is 03:02 PM.