In Unix, how do I quickly changing users on Linux without having to logout while you are using bash or any other command line interface.
The su command
Using the su command we can quickly change users in a bash terminal for that type the following command;
su – username
To login as a root user
su -s