1 2 3 4 5 6 7 8 9 10 11
#!/bin/bash #set -x # Testing OLDIFS=$IFS IFS=":" for i in $PATH do find $i -maxdepth 1 -executable -iname "[email protected]" done IFS=$OLDIFS #set +x