1

How to force a Bash word to reference an alias, function, file, etc?

view story
linux-howto

http://unix.stackexchange.com – 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: alias keyword function builtin file It's possible for a word to have several types (true is just an example; a more commonly overridden word would be cd): $ 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. Forcin (HowTos)