[bash] How can I check if a program exists from a Bash script?