which - Gibt den Pfad des Programms zurück, das ausgeführt wird, wenn ein befehl eingegeben wird

Syntax

which [command]

Beispiele

which bash     # /usr/bin/bash
which python3  # /usr/bin/python3