Ask the shell which commands are builtins and which are files
Ask the shell which commands are builtins and which are files
Answer
type -a cd type -a echo type -a ls
A builtin costs no process. `-a` lists every match in search order, so you see when a name exists both ways — the builtin is the one that runs.
S&K 3e ch10 §10.1, §10.4