Type

From LinuxIntro
Jump to: navigation, search

Type is a command to find out the type of a command. A command can have many types, e.g.

As an example for the command type, open a console and enter:

tweedleburg:~ # type alias
alias is a shell builtin
tweedleburg:~ # type which
which is hashed (/usr/bin/which)
tweedleburg:~ # type ls
ls is aliased to `ls $LS_OPTIONS'
tweedleburg:~ # type type
type is a shell builtin

See also