Disable the Red and Green Lights on a Raspberry Pi

The Raspberry Pi has two LED light indicators:

  • Green (the ‘action light’): to indicate the system is busy/working
  • Red (the ‘power light’)’: to indicate the system is not getting enough power

To stop the lights from blinking, you can execute the following commands on your Raspberry Pi (via SSH for example):

Disable the green LED:

sudo sh -c 'echo 0 > /sys/class/leds/led0/brightness'

Disable the red LED:

sudo sh -c 'echo 0 > /sys/class/leds/led1/brightness'


Author Bio

Thank you for your interest in my blog! On this miniblog, I write mostly short (technical) blog posts that might interest other people. Read more about me or feel free to contact me.


Leave a Reply

Your email address will not be published. Required fields are marked *