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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

light Command Examples in Linux

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.

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. How to Change Timezone from CST To EST in CentOS/RHEL 7 Server
  2. qm clone Command Examples in Linux
  3. adig Command Examples in Linux
  4. How to Run SCP Without Password Prompt Interruption in Linux
  5. How to use FTP under Linux to transfer files
  6. RHEL 7 – RHCSA Notes : Create hard and soft links.
  7. nitrogen Command Examples in Linux
  8. “az term” Command Examples (Manage marketplace agreement with marketplaceordering)
  9. How the BASH Shell load its configuration files in Linux
  10. How to Extend the Last Existing Filesystem Partition with Parted

You May Also Like

Primary Sidebar

Recent Posts

  • csslint: A linter for CSS code
  • csh: The shell (command interpreter) with C-like syntax (Command Examples)
  • csc: The Microsoft C# Compiler (Command Examples)
  • crystal: Tool for managing Crystal source code

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright