type Flashcards

1
Q

type

A

Display information about command type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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’.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly