Internal and External Commands
Internal Commands are commands that are internal to the Bash shell
External Commands are third party commands that are not internal to the Bash shell.
If you want to see the location/path of an external command script, use :
which <name of external command>
This should give you the location of the external command
If you want to see whether a command is an internal command, use:
type <name of internal command>
This should tell you whether the command is a built in command or not
If there is a conflict between an internal and external command, where a command is both an internal and external command, the internal command will always get priority over the external command and will automatically get executed first.