Peer-reviewed code snippets that anyone can edit
A wiki for useful code snippets
how to understant which exact shell is running
echo SHELL variable says: $SHELL
echo real shell is:
basename $(stat /proc/$$/exe --printf "%N" | sed -e 's/.*-> `//g; s/\x27$//g')