Linux system shutdown at specified time and prompts the user

  1. Common commands shutdown:
    the shutdown
    poweroff
    the HALT
    the init 0
  2. To achieve prompt the user during shutdown, the general shutdown command
    specified time Shutdown:
    If the designated 20:30 off
    Linux system shutdown at specified time and prompts the user
    directly shutdown plus the time to complete the task at the specified time off
    can also add -h parameter
    Linux system shutdown at specified time and prompts the user
  3. Specified time and prompts the user to shut down:
    Linux system shutdown at specified time and prompts the user
  4. Cancel the shutdown:
    Linux system shutdown at specified time and prompts the user

Guess you like

Origin blog.51cto.com/14483057/2428340