type Flashcards
1
Q
type
A
Display information about command type.
2
Q
type
- a
- f
A
-a, Display all location containing an executable named NAME; includes aliases, builtins, and functions, if and only if the ‘-p’ option is not also used.
–f, suppress shell function lookup.
3
Q
type
- P
- p
A
- P, Force a PATH search for each NAME, even if it is an alias, builtin, or function, and returns the name of the disk file that would be executed.
- p, Returns either the name of the disk file that would be executed or nothing if ‘type -t NAME’ would not return ‘file’.
4
Q
type -t
A
-t, Output a single word which is one of ‘alias’, ‘keyword’, ‘function’, ‘builtin’, ‘file’ or ‘’, if NAME is an alias, shell reserved word, shell function, shell builtin, disk file, or not found, respectively.