For instance:
find ${PATH//:/ } -maxdepth 1 -executable -name '*SRA*'
And if you have spaces (or other dangerous characters) in $ PATH (trick <<< , borrowed from @fedorqui's answer):
tr ":\n" "\\000" <<< "$PATH" | \ xargs -0r -I{} -n1 find {} -maxdepth 1 -executable -name '*SRA*'
It also correctly processes an empty $ PATH.
source share