tldr/pages/common/type.md

332 B

type

Display the type of command the shell will execute. More information: https://manned.org/type.

  • Display the type of a command:

type {{command}}

  • Display all locations containing the specified executable:

type -a {{command}}

  • Display the name of the disk file that would be executed:

type -p {{command}}