How To Find Which Shell Is Mapped To The Terminal In Mac Or Linux

Mac and Linux allows you to work with different shell applications. If you wish you find out which shell you are using in your terminal execute the bellow command in your terminal.

Command To Find The Shell

1. Returns only the name of the shell application
echo $0

2. Returns the path of the shell application
echo $SHELL

Leave a comment