type

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

Install

All systems
curl cmd.cat/type.sh
Debian Debian
apt-get install bash
Ubuntu
apt-get install bash
Alpine
apk add bash
Arch Arch Linux
pacman -S bash
image/svg+xml Kali Linux
apt-get install bash
CentOS
yum install bash
Fedora
dnf install bash
Windows (WSL2)
sudo apt-get update sudo apt-get install bash
OS X
brew install bash
Raspbian
apt-get install bash
Docker
docker run cmd.cat/type type powered by Commando

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

© tl;dr; authors and contributors