Show the first python3 executable found in PATH.
which python3Show which executable would run when you enter a command name.
which [-a] NAME...Show the first python3 executable found in PATH.
which python3List all python3 matches in PATH.
which -a python3| Option / clause | Description |
|---|---|
-a | Print every matching executable found in PATH. |
--read-alias | Read aliases from standard input (in supported implementations). |
--skip-alias | Ignore aliases (in supported implementations). |
--read-functions | Read shell functions from standard input (in supported implementations). |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.