Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 1490  / 1 Year ago, fri, november 25, 2022, 10:20:19

According to this post menu shutdown asks each application to save their work prior to shutting down. Will something more serious happen if one always uses sudo shutdown -h now to turn off the machine? It works so fast, I am getting hang of it.


More From » shutdown

 Answers
5

None that I am aware of. That is how I shut down all of my servers. Using the -q options would force a non-graceful shutdown, but the -h option is fine. The 'now' part of the command is the 'time' to shutdown.


syntax:



shutdown [-a][-t sec][-krhnfFc][time][warning-message]


shutdown -h -t 10



specified a shutdown in 10 seconds.



shutdown -h 8:00



shutdown happens at 8 o'clock


[#34919] Sunday, November 27, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sconhoney

Total Points: 403
Total Questions: 118
Total Answers: 109

Location: Andorra
Member since Mon, Jan 9, 2023
1 Year ago
sconhoney questions
;