A simple script that is going to take in a command and tell you if it exists or not on the system.
commandexistance.sh [COMMAND]
- Will return true if the command exists on the system, otherwise it will return false
commandexistance.sh gedit
commandexistance.sh echo
commandexistance.sh htop