Visit The New, Modern Unix Linux Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #893
Difficulty: Easy
sed uses regular expressions, such as .* (zero or more of any character).
True or False?
Linux & Unix Commands - Search Man Pages

on_ac_power(1) [linux man page]

ON_AC_POWER(1)						      General Commands Manual						    ON_AC_POWER(1)

on_ac_power - test whether computer is running on AC power SYNOPSIS
on_ac_power DESCRIPTION
on_ac_power checks whether the system is running on AC power (i.e., mains power) as opposed to battery power. OPTIONS
0 (true) System is on mains power 1 (false) System is not on mains power 255 (false) Power status could not be determined FILES
/proc/apm APM status information file /proc/acpi ACPI status information directory AUTHOR
This manual page was written by Steve Dodd <> and was updated by Thomas Hood. 9 March 2002 ON_AC_POWER(1)

Check Out this Related Man Page

PM-POWERSAVE(8) 					       pm-utils User Manual						   PM-POWERSAVE(8)

pm-powersave - Put your computer into low power mode SYNOPSIS
pm-powersave [{true | false}] DESCRIPTION
This manual page documents briefly the pm-powersave command. pm-powersave can be used to set your system into low power mode. OPTIONS
true Put the computer into low power mode to reduce energy consumption and extend your laptop's battery life. false Turn off low power mode. FILES
/etc/pm/power.d/, /usr/lib/pm-utils/power.d/ When you run pm-powersave it combines the scripts in these two directories and executes them in sorted order. If both directories contain a script with the same name, the one in /etc/pm/power.d/ has a higher precedence and only this one will be executed. Therefore to disable a script from /usr/lib/pm-utils/power.d/ simply create an empty file in /etc/pm/power.d/ with the same name and without the executable bit set. SEE ALSO
pm-suspend(8), pm-hibernate(8) AUTHOR
Michael Biebl <> Manpage author. COPYRIGHT
Copyright (C) 2007 Michael Biebl This manual page was originally written for the Debian(TM) system, and has been adopted by the pm-utils project. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation. pm-powersave Mar 5, 2007 PM-POWERSAVE(8)

Featured Tech Videos