FG
💻 Software

How can I catch or stop a Linux shut down from the terminal?

Fresh7 days ago
Mar 15, 20263938 views
Confidence Score0%
0%

Problem

Is there a way to catch or stop a Linux shut down after a reboot, halt or shutdown command has been entered? I should now have 10 minutes before the computer shuts down. If I change my mind and decide that I still want to continue running, how could I stop the shut down?

Error Output

sudo shutdown -r +10

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I catch or stop a Linux shut down from the terminal?

Low Risk

This will cancel a scheduled shutdown. You don't have to run it in the same terminal as the original shutdown request.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment