Your system then calls the command shutdown. Logins are prevented and all users are notified of the impending shutdown. The command has a parameter called TIME, which is how long until the shutdown occurs. When you use the shut down from the corner the argument is now. According to the manual page of shutdown, after time has elapsed the shutdown command sends a request to the init daemon which is what really shuts the system down for good.
To execute this same process yourself you can run the command:
Your system then calls the command
shutdown
. Logins are prevented and all users are notified of the impending shutdown. The command has a parameter calledTIME
, which is how long until the shutdown occurs. When you use the shut down from the corner the argument isnow
. According to the manual page of shutdown, after time has elapsed the shutdown command sends a request to the init daemon which is what really shuts the system down for good.To execute this same process yourself you can run the command: