Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


laptop-detect

Section: System administration commands (8)
Updated: 0.12
Index Return to Main Contents
 

NAME

laptop-detect - attempt to detect a laptop  

SYNOPSIS

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

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  

AUTHORS

Franklin PIAT <fpiat@bigfoot.com>  

SEE ALSO

dmidecode(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
FILES
AUTHORS
SEE ALSO


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/