Difference between revisions of "Shutdown"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
* <code>[[udisksctl power-off]]</code>
 
* <code>[[udisksctl power-off]]</code>
 
* <code>[[last]] reboot</code>, <code>[[last]] [[shutdown]]</code>
 
* <code>[[last]] reboot</code>, <code>[[last]] [[shutdown]]</code>
 +
systemd-update-utmp [[reboot]]
 +
systemd-update-utmp [[shutdown]]
  
 
== See also ==
 
== See also ==

Revision as of 07:57, 10 December 2020

This article is a Draft. Help us to complete it.
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/messages /var/log/syslog /var/log/apcupsd* | grep -iw 'recover[a-z]*\|power[a-z]*\|shut[a-z ]*down\|rsyslogd\|ups'


Related commands

systemd-update-utmp reboot
systemd-update-utmp shutdown

See also

Advertising: