Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux setleds command

Linux setleds command

Linux Command Reference Linux Command Reference

The Linux setleds command is used to set the status of the three LEDs above the keyboard. In Linux, each virtual console has its own settings.

Syntax

setleds [-v] [-L] [-D] [-F] [{+|-}num] [{+|-}caps] [{+|-}scroll]

Parameters:

Example

Turn on the Num Lock key and turn off the other two lights.

# setleds +num -caps -scroll

Linux Command Reference Linux Command Reference