shutdown [options] [TIME] & (not blocked in the background)
-C cancels the previous shutdown command
-H shutdown
-R Restart
The time section can be specified as now to perform an immediate restart
Reboot restart
Logout Sign Out
chmod 751 filename gives a file permission (751 for read-write executable)
W view logged in user and load
Last view user's login log (/var/log/wtmp)
Lastlog View last logon time for all users
History View Historical Command and Operation History Command, save 1000 By default (~.bash_history)
Cat/etc/inittab = Runlevle View current system level (0 for shutdown, 6 for restart)
Shortcut keys:
CTRL + C forces the current command to stop
CTRL + L Clear Screen
CTRL + a cursor to the beginning of the command
CTRL + E cursor to the end of the command line
CTRL + Z put commands into the background
CTRL + R search in the history command
Ctrl + V Delete Current line input
Seven. Linux system-related commands