If we are using a linux distribution we can do it whit the comma shutdown directly in the termina. Now some example:
$sudo shutdown -h +10
$sudo shutdown -r 16:45
The first command (h)alt the computer after 10 minute, the second (r)eboot the computer at 16:45. Both the command must be execute with root permission or also prepending the sudo command. For further information see the output of:
$shutdown --help
Windows:
For Windows OS is roughly the same matter. For example to shutdown the computer after 10 minutes (600 seconds), we can write in the command prompt:
$shutdown -h -t 600
For other useful information see the output of:
$shutdown -?
No comments:
Post a Comment