type Linux Command
Displays how a command name would be interpreted (alias, builtin, external, etc.).
What does type do?
Displays how a command name would be interpreted (alias, builtin, external, etc.).
Syntax
type commandPractical example
type lsRelated Search Commands
whereisLocates the binary, source, and manual page files for a command.
awkPowerful text processing language for pattern scanning and data extraction.
whichShows the full path of the executable that would run for a given command.
sedStream editor for filtering and transforming text (find/replace, insert, delete).
locateQuickly finds files by name using a pre-built database (run updatedb to refresh).
sortSorts lines of text files alphabetically or numerically.