Updated: 05 June, 2006
Index Return to Main Contents
NAMEon_ac_power - test whether the computer is running on line power
The command succeeds (status 0) if the system is using line power and fails (status other than 0) otherwise. It is designed to be easy to use in shell scripts.
- System is on line power.
- System is not on line power.
This manual page was written by Richard Hughes <email@example.com>.
COPYRIGHTCopyright © 2006 Richard Hughes
This document was created by man2html, using the manual pages.
Time: 05:29:06 GMT, December 24, 2015