T
Termux3mo 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. Jaska3mo 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
marcusz3mo ago
Just type exit Check .bashrc and similar startup files
Regan
Regan3mo ago
I've tried to type exit didn't work Idk and idk how to log back to my normal user
fisher
fisher3mo 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 wz3mo ago
I have a very simple solution, just type Ctrl+D