5

Difference between "echo $SHELL" and "which bash"

view full story
linux-howto

http://unix.stackexchange.com – I am trying to determine the location of bash interpreter on my Solaris system and I am a bit confused. When I type: echo $SHELL The resulting path is: /bin/bash And when I type: which bash I get: /usr/bin/bash Can anyone please explain this discrepancy? (HowTos)