Find out what an alias stands for:
$ alias ll
alias ll='ls -lh --color=always'
Use type to see where a command is defined:
$ type ll
ll is aliased to `ls -lh --color=always'
$ type vim
vim is /usr/bin/vim
combine the output of 'alias' to 'grep' to find out all the 'ls' aliases:
$ alias | grep ls
alias la='ls -A --color=always'
alias ll='ls -lh --color=always'
alias lla='ls -lha'
alias ls='ls --color=auto'
If you need to debug some unexpected alias and you want to know where it was set, there is no easy way.