When trying to add a bit more detail to a related question, I realized I don't know how to specify which one of the available Bash word types to execute. According to
help type there are five word types:
It's possible for a word to have several types (
true is just an example; a more commonly overridden word would be
$ type -a true true is a shell builtin true is /bin/true
How do you force the execution of a specific synonym? So far, in order of precedence:
alias: This is a special case since it has precedence over all the other synonyms. Forcing this would only be useful when the command should fail if the alias is not defined.
$ builtin true
$ command true $ $(which true) $ /bin/true
Quoting a word excludes aliases and keywords. That is,
will run only the function, builtin or file.