bash: Find the type of a command.
-
Take into account the main readme for this section. README first.
Use the type builtin.
printenv is a binary, alias is a shell builtin, and env is a hashed binary.
$ type printenv printenv is /usr/bin/printenv $ type env env is hashed (/usr/bin/env) $ type alias alias is a shell builtin
© Lightnetics 2024