Commands for shutting down and viewing system information
1.shutdown: Normal shutdown
(Note: You must be a root user, or you will need to switch to the root user with the SU command)
Eg: shutdown in less than 5 minutes: shutdown-t 5
Restart after shutdown: shutdown-r
Cancel shutdown operation: shutdown-c
Other parameters can refer to the following table:
2.reboot: Shutdown command. (Fastest shutdown, no memory or buffer data saved to memory)
Parameter options:
3.PS: See which programs are executing and performing. Similar to the Task Manager under Windows.
Other parameters refer to the following table:
4.top: View the current program's execution scenarios and memory usage. (and PS difference: top command will be updated once a few seconds)
5.kill: Terminates a process that is executing.
Usage: Kill (-option) PID
Eg: cut off the stroke with PID 233: kill-9 233
The process of re-running 555: Kill-puh 555
6.date: Displays the current time and date
The command returned should be February 07, 2018, 09:24 P.M. 37 seconds (because my computer installed the virtual machine has not been adapted to Chinese, so the display has a problem)
Parameters refer to the following table:
7.cal: Calendar
Cal 02 2018
Linux common commands (iv)