systemd-inhibit
Verified for current stable LTS
Systemd Inhibit Command: Block System Shutdown Linux
Use for block system shutdown linux with Systemd Inhibit. Exact CLI syntax to block system shutdown linux using Systemd Inhibit.
When to use this: Use for block system shutdown linux with Systemd Inhibit.
Command Syntax
systemd-inhibit --what shutdown sleep <5> systemd-inhibit --what shutdown sleep <5> Live Command Builder
Final Command
systemd-inhibit --what shutdown sleep <5> Command Breakdown
--what- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to block system shutdown linux using Systemd Inhibit.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Systemd Inhibit Command: Describe Inhibitor Creation Linux
systemd-inhibit --who <$USER> --why <reason> --what <operation> <command> Systemd Inhibit Command: Ignore Lid Close Switch Linux systemd-inhibit --what sleep:handle-lid-switch <path/to/script> Systemd Inhibit Command: Ignore Power Button Press Linux systemd-inhibit --what handle-power-key <command> Systemd Inhibit Command: List Active Inhibition Locks Linux systemd-inhibit Systemd Inhibit Command: Prevent Sleep During Download Linux systemd-inhibit --what sleep:idle wget {https://example.com/file}