CmdID

CmdID / Commands

systemd-inhibit

Prohibit the system from entering certain power states. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Prohibit the system from entering certain power states. Inhibitor locks may be used to block or delay system sleep and shutdown requests as well as automatic idle handling.

List all active inhibition locks and the reasons for their creation

systemd-inhibitIdentify

Block system shutdown for a specified number of seconds with the sleep command

systemd-inhibit --what shutdown sleep 5Identify

Keep the system from sleeping or idling until the download is complete

systemd-inhibit --what sleep:idle wget https://example.com/fileIdentify

Ignore lid close switch until the script exits

systemd-inhibit --what sleep:handle-lid-switch path/to/scriptIdentify

Ignore power button press while command is running

systemd-inhibit --what handle-power-key commandIdentify

Describe who and why created the inhibitor (default: the command and its arguments for --who and Unknown reason for --why)

systemd-inhibit --who $USER --why reason --what operation commandIdentify