Possible Duplicate:
Can a Bash script tell what directory it's stored in?
Is there a command-line function (bash
) to find the location of the command you've executed?
I understand I could check my $PATH
for things I've imported manually but there must be some way to do this. A tricky echo
command or something?