type, will help you know if a command, is an alias, a built-in command or an independed command installed in your PC.
With no options, describe a command, for each name, indicate how it would be interpreted if used as a command name.
SYNTAX
type [-atp] [name ...]
OPTIONS
If the -t option is used, type prints a string which is one of alias, keyword, function, builtin, or file if name is an alias, shell reserved word, function, builtin, or disk file, respectively.
`alias' (shell alias)
`function' (shell function)
`builtin' (shell builtin)
`file' (disk file)
`keyword' (shell reserved word)
If the `-p' option is used, type either returns the name of the disk file that would be executed, or nothing if `-t' would not return `file'.
If the `-a' option is used, type returns all of the places that contain an executable named file. This includes aliases and functions, if and only if the `-p' option is not also used.
The return status is zero if any of the names are found, non-zero otherwise.
Run
type type
And you will see that type is a bash built-in command.
type is a shell builtin
If this was useful for you, please consider making a donation, any amount is welcome, please proceed by clicking on the yellow donate button, thank you in advance.






Recent comments
1 week 18 hours ago
1 week 1 day ago
1 week 4 days ago
2 weeks 1 day ago
2 weeks 6 days ago
3 weeks 4 days ago
3 weeks 4 days ago
3 weeks 6 days ago
4 weeks 15 hours ago
4 weeks 4 days ago