I entered sudo bash and I can't get back to the normal command prompt mode. Exit just closes the terminal. A restart didn't help either.
I would like to exit the bash mode so I don't mess anything up. Thanks!
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.
Sign up to join this communityJust switch the user back to your normal user (username)
su username
Additional you can run sudo -k
to emtpy the password cache, so next time you run a sudo command you have to enter the password again.
sudo bash
causes the shell to work with root account. What you exactly did? What do you mean by normal command prompt mode?