1. the device file device has a block character (character) in the form of a special file in Linux) device file device file location View device type 2. Virtual Console and user identity switch in the system there are 12 virtual consoles, the first 6 can be used locally
I. device files
The device exists as a special file in Linux
Block device files
Character (character) device file
Location of the device file
View device types
II. Virtual Console and user identity switching
There are 12 virtual consoles in the system, and the first 6 are available for users to log on locally.
You can use Alt + Fn (n = 1 ~ 12) to switch
Su can be used to change the user identity su-username
Exit can return the previous user
3. exit the system (must be a root user)
1. restart
Reboot
Shutdown-r now
Init 6
2. shutdown
Halt
Shutdown-h now
Poweroff
Init 0