light Command Examples in Linux

light is a command line tool used to control the backlight of a computer screen. It allows you to adjust the brightness of your screen from the terminal, making it useful for situations where you don’t have access to the GUI or when you need to automate this task through a script.

light Command Examples

1. Get the current backlight value in percent:

# light

2. Set the backlight value to 50 percent:

# light -S 50

3. Reduce 20 percent from the current backlight value:

# light -U 20

4. Add 20 percent to the current backlight value:

# light -A 20
Related Post