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.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications