I use
sudo su
command to do something in Mac OS X but don’t know how to switch back.Hope you guy can do me a favour.
Answer
Type exit
. This will logout the super user and go back to your account.
Attribution
Source : Link , Question Author : Hillman , Answer Author : Eric Andres