This question already has an answer here:
- Order of executables started in bash 2 answers
When there are same-name builtin, keyword and/or external command, what is the order in which the Bash shell decides which to run?
timeand external command
printfand external command