I want to know which executable gets executed for any command in bash.
Example:
- I have firefox installed here
/usr/bin/firefox, it is in the$PATH alias browser=firefoxalias br=browser
Now I want to type something like getexecutable "br" and it should display /usr/bin/firefox