Many PC Desktop Linux home users may never have come across the shutdown command, but it's handy to know and learn for a lot of reasons. For sysadmins, it's an essential tool for remote management.
For home users, imagine you're downloading a large file that's going to take an hour but you have to leave for work. You want to finish your download, but you don't want to leave your computer running all day. Shutdown is your tool.
Let's try it. OK, so your download says it's going to take an hour, let's be safe and wait 90 minutes before shutting off the computer, in case the download slows down a bit.
Open a shell, become root with su, and type the following
shutdown -P +90
That's it. Leave the shell open and go to work. In 90 minutes your computer will shutdown and power off cleanly unattended.
https://www.howtoforge.com/linux-shutdown-command/
No comments:
Post a Comment