A Couple Ways to Identify the Shell you're Using

ps -p $$
  PID TTY           TIME CMD
76146 ttys002    0:54.05 -bash

echo $SHELL
/bin/bash

The first gets the PID and command of the current shell, the second is an environment variable that should be set in most shells.

https://aniyara.icu/api.php?t=edad165fe1f3304599c645cddcc20be4d65caf19