To find the location of a command used by your #shell, you typically use `which`. However, that command is not ideal, as it might not reveal the full provenance of the shell command, and you should use `type` instead:
To get full information about a type (command), use `-a` to get the alias information and the path where it is located, etc. For example:
```bash
type -a vim
```