Linux Commands Examples

A great documentation place for Linux commands

laptop-detect

attempt to detect a laptop


see also : dmidecode

Synopsis

laptop-detect [-h|--help|-v|--verbose|-V|--version]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !

description

Laptop-detect attempts to determine whether it is being run on a laptop or a desktop and appraises its caller of this.

options

-h --help

Output help information and exit.

-v --verbose

be verbose (messages go to STDOUT)

-V --version

Output version information and exit.

exit status

0

most likely running on a laptop

1

most likely NOT running on a laptop

2

usage error (arguments supplied)

files

/proc/acpi/battery
/proc/pmu/info


see also

dmidecode


authors

Franklin PIAT <fpiat[:at:]bigfoot[:dot:]com>

How can this site be more helpful to YOU ?


give  feedback