Type
From Linuxintro
Revision as of 09:35, 11 June 2011 by imported>ThorstenStaerk (Created page with "Type is a command to find out the type of a command. A command can have many types, e.g. * a shell builtin * an alias * an executable file As an example for the ...")
Type is a command to find out the type of a command. A command can have many types, e.g.
- a shell builtin
- an alias
- an executable file
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