how to find the path of a command in linux

Shell
which python
which -a pyton
Source

Also in Shell: