Editing Shutdown

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{draft}}
 
{{draft}}
 
{{lc}}
 
{{lc}}
* https://man7.org/linux/man-pages/man8/shutdown.8.html
 
  
 
  shutdown
 
  shutdown
 
[[shutdown -c]]
 
 
   
 
   
 
== Example ==
 
shutdown
 
 
  Broadcast message from root@MYNEWVM on pts/1 (Fri 2023-03-31 17:00:00 CEST):
 
  Broadcast message from root@MYNEWVM on pts/1 (Fri 2023-03-31 17:00:00 CEST):
 
   
 
   
 
  The system is going down for poweroff at Fri 2023-03-31 17:01:00 CEST!
 
  The system is going down for poweroff at Fri 2023-03-31 17:01:00 CEST!
 
   
 
   
  Shutdown scheduled for Fri 2023-03-31 17:01:00 CEST, use '[[shutdown -c]]' to cancel
+
  Shutdown scheduled for Fri 2023-03-31 17:01:00 CEST, use 'shutdown -c' to cancel
 
   
 
   
 
  grep -iv ': starting\|kernel: .*: Power Button\|watching system buttons\|Stopped Cleaning Up\|Started Crash recovery kernel' [[/var/log/syslog]] | grep -iw 'recover[a-z]*\|power[a-z]*\|shut[a-z ]*down\|rsyslogd\|ups'
 
  grep -iv ': starting\|kernel: .*: Power Button\|watching system buttons\|Stopped Cleaning Up\|Started Crash recovery kernel' [[/var/log/syslog]] | grep -iw 'recover[a-z]*\|power[a-z]*\|shut[a-z ]*down\|rsyslogd\|ups'
Line 29: Line 23:
 
  systemd-update-utmp [[reboot]]
 
  systemd-update-utmp [[reboot]]
 
  systemd-update-utmp [[shutdown]]
 
  systemd-update-utmp [[shutdown]]
 
[[LOG: received fast shutdown request]]
 
  
 
== See also ==
 
== See also ==
 
* {{reboot}}
 
* {{reboot}}
* {{shutdown}}
+
* {{logs}}
  
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: