• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

light: command not found

by Deepika

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.

If you encounter the below error while running the command light:

light: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Arch Linux pacman -S light
Fedora dnf install light

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

Filed Under: Linux

Some more articles you might also be interested in …

  1. cwebp: Compress an image file to a WebP file
  2. chrt Command Examples in Linux
  3. uuid: command not found
  4. abbr Command Examples in fish-shell
  5. How to Disable IPv6 on Ubuntu 20.04 Focal Fossa
  6. pw-loopback Command Examples in Linux
  7. direnv: Shell extension to load and unload environment variables depending on the current directory
  8. iperf Command Examples
  9. gdal_contour: Create contour lines and polygons from a digital elevation model
  10. bootctl Command Examples (Control EFI firmware boot settings and manage boot loader)

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright