Because I was too busy last night and didn't have time to update my study, I want to update it in five minutes at work:
Note: Files starting with. In liunx are hidden. You can use LS-a to view
Run the previous date command: date to view the system time or change the time:
Date 0721135613.56 07-21 11: 35: 13: 56
Hwclock view motherboard time
The hwclock-W is based on the system time. Change the motherboard time.
Hwclock-S is based on the motherboard time. Change the system time.
Cal view calendar
Cal 3 2011 view calendar for January 1, March 2011
Halt, halt-P power off
Reboot restart
Shutdown and shutdown-R now restart immediately
Shutdown-R 6 seconds later restart
Shutdown-C command to cancel Shutdown
Power off
Cd ~ Username jump to the directory in username
CD... returns the upper-layer directory of the upper layer. The relative path starts with "." And the absolute path starts "/".
CD-Return to the last directory
Cd ~ Like CD