Command line · Question 10 of 12
Which option of type lists every match for a name, i.e. alias, builtin and every matching program in PATH?
1 answer is correct. Medium Created with AI
Show answer
Answer
- A -a
Explanation
type -a shows all matches in the order in which the shell checks them. -t prints only a single word such as "alias" or "file", -p only the path of a program file.