Determine where a UNIX alias is defined

Viewed 4462

Is there a (somewhat) reliable way to get the 'origin' of a command, even if the command is an alias? For example, if I put this in my .bash_profile

alias lsa="ls -A"

and I wanted to know from the command-line where lsa is defined, is that possible? I know about the which command, but that doesn't seem to do it.

3 Answers
Related