
systemctl:ai:699b2
How can i know if the computer is about to shutdown or reboot with bash?
$ systemctl list-jobs
try on your machine
Use the 'systemctl list-jobs' command to check if there are any pending shutdown or reboot jobs in the system.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.
Questions that are answered by this command:
- How can i know if the computer is about to shutdown or reboot with bash?