echo $SHELL

Category: Environment & Config

echo $SHELL

Print the current user's default shell

Shows which shell program you're using (e.g. /bin/bash or /bin/zsh).
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.