Created
August 28, 2020 00:27
-
-
Save n0toose/d288bbcba0fec52b3865dea1bf02a877 to your computer and use it in GitHub Desktop.
Blink all of the LED lights in your Linux workstation randomly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; | |
do | |
sudo echo $((0 + RANDOM%2)) | | |
sudo tee /sys/class/leds/*/brightness -; | |
sleep 0.005; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment