Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mac check shell version

To see what shell is currently running (which may or may not be your default shell), use:
ps -o comm= $$

To see what shell is your default shell, run:
echo "$SHELL"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mac #check #shell #version
ADD COMMENT
Topic
Name
1+8 =