T
Termux2y ago
Regan

How to exit root in Termux?

I have typed exit to end the session however this has lodged a root file session. How do I stop this?
No description
5 Replies
Dr. Jaska
Dr. Jaska2y ago
How did you login to root? Can you just login back to your normal user? @Regan do you have any users like u0_a123 where 123 is whatever?
marcusz
marcusz2y ago
Just type exit Check .bashrc and similar startup files
Regan
ReganOP2y ago
I've tried to type exit didn't work Idk and idk how to log back to my normal user
fisher
fisher2y ago
you probably ran a random script from internet try these: - reading the scipt and undoing what it did - look for scripts/code that change the PS1 variable (be careful you might lose import data doing these ↓) - deleting .bashrc - clearing termux data
Chen wz
Chen wz2y ago
I have a very simple solution, just type Ctrl+D

Did you find this page helpful?