A: home directory
Ordinary user, the home directory is / home / username
root, home directory is / root
root login system, execute the following command into the home directory of root
cd / cd ~
After entering the home directory execute the following command to obtain a specific path
pwd
II: User Switching
Cut from a normal user to root: 1.su 2. su root password is required
Common root cut out from the user to the user: 1. su username password is not required 2.ctl + d