HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

on_ac_power — A simple utility which tests if a computer is running on line power. Returns `0` if yes, and `1` if

Submitted by: @import:tldr-pages··
0
Viewed 0 times
simplecomputercommandon_ac_powerclitestswhichutility

Problem

How to use the on_ac_power command: A simple utility which tests if a computer is running on line power. Returns 0 if yes, and 1 if no. More information: <https://manned.org/on_ac_power>.

Solution

on_ac_power — A simple utility which tests if a computer is running on line power. Returns 0 if yes, and 1 if no. More information: <https://manned.org/on_ac_power>.

Test if a computer is running on line power:
on_ac_power

Code Snippets

Test if a computer is running on line power

on_ac_power

Context

tldr-pages: common/on_ac_power

Revisions (0)

No revisions yet.