Flummoxed by IT: Bash: Validate directory in $PATH