Contents
To change user to root account, simply run “su” or “su –” without any arguments.
How do I get to root in Linux?
File & Directory Commands
- To navigate into the root directory, use “cd /”
- To navigate to your home directory, use “cd” or “cd ~”
- To navigate up one directory level, use “cd ..”
- To navigate to the previous directory (or back), use “cd -“
2 июл. 2016 г.
How do I revert back to root?
in terminal. Or you can simply press CTRL + D . Show activity on this post. Just type exit and you will leave the root shell and get a shell of your previous user.