Issue
Is there an easy way by which I can tell which type of Unix shell I am in?
A command that shows whether I am in a Bash, C shell, KornShell (ksh
), tcsh, or Z shell (zsh
)?
E.g.,
whatshellisthis
Solution
Try:
echo $0
This often works across a range of shells.
Answered By - ggg Answer Checked By - Robin (WPSolving Admin)