sudo cat /dev/urandom > /dev/fb0
This should work just fine (with a /dev/null redirection so your terminal doesn't get garbled):
cat /dev/urandom | sudo tee /dev/fb0 > /dev/null
echo "cat /dev/urandom > /dev/fb0" | sudo sh
I was quite proud of myself the first time I figured that out many years ago :) sudo sh -c "cat /dev/urandom > /dev/fb0"It even tells you that:
> -bash: /dev/fb0: Permission denied
^^^^^From https://stackoverflow.com/a/82278/5208540 , here's how to "redirect with sudo":
Use "| sudo tee /dev/fb0"
I recommend instead using "|sudo dd of=/dev/fb0", or, if you have moreutils installed, "|sudo sponge /dev/fb0"