Categories
Unix & Linux

How to determine current terminal shell in macOS/FreeBSD

Is there an easy way to determine what shell I’m using in terminal?