Member_2_4942450
asked on
Find all the executable files in unix inside the directory and all sub directories
I need to Find all the executable files in unix inside the directory and all sub directories
ASKER
I was able to figure out ls -RF will give me the executable that are denoted by a star.
Then I need to take the ones denoted by a star out and list them
how would I do this in a script
Then I need to take the ones denoted by a star out and list them
how would I do this in a script
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The more standard way of doing this is
find fileLab -type f -perm /111 | awk -F/ '{print $NF}' | sort -u
find fileLab -type f -perm /111 | awk -F/ '{print $NF}' | sort -u
ASKER