Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to know which shell is specified for linux

ps -p $$ – Display your current shell name reliably.
echo "$SHELL" – Print the shell for the current user but not necessarily the shell that is running at the movement.
 
PREVIOUS NEXT
Tagged: #shell #linux
ADD COMMENT
Topic
Name
3+4 =