![]() ![]() If you changed your mind after scheduling a shutdown, you could always cancel this operation by executing the following command: sudo shutdown -c ![]() The terminal will notify you and other connected users that the system will shut down at a specific time. If you’d like to wait for ten minutes before the shutdown, you may use the following command: sudo shutdown +10 Schedule Linux shutdown in 10 minutes (command) Here and in all further examples, we’ll use the sudo command to elevate our privileges (become root user during the subsequent command execution). To wait for 60 seconds before the shutdown: sudo shutdown 60 Schedule Linux shutdown in 60 seconds (command) It is straightforward to schedule a planned system shutdown. : You can specify an optional message to all users to notify them about the scheduled shutdown.Ĭheck shutdown man page for additional information about the command.The second way is +m, where m is the number of minutes to wait. The first way is to use hh:mm format, where hh hours and mm are the minutes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |