3 ms·
Permission problem for the redirection. From https://stackoverflow.com/a/82278/5208540 https://stackoverflow.com/a/82278/5208540 , here's how to "redirect with
by stragies 6y ago
Permission problem for the redirection.
From https://stackoverflow.com/a/82278/5208540 https://stackoverflow.com/a/82278/5208540 , here's how to "redirect with sudo":
Use "| sudo tee /dev/fb0"
- thequux 6y agotee will also write to stdout, which can often mean that you get a bunch of binary gubbish splattered all over your terminal. I recommend instead using "|sudo dd of=/dev/fb0", or, if you have moreutils installed, "|sudo sponge /dev/fb0"
- hackmiester 6y agoBut 'sponge' will put it all in RAM, so that's not ideal either. Lots of pitfalls here, wow.
- rbanffy 6y agoShouldn't `| sudo cat > /dev/fb0` work?