3 ms·
blah | sudo tee /some/file > /dev/null would though. Both are probably fine.
by Vecr 4y ago
blah | sudo tee /some/file > /dev/null
would though. Both are probably fine.
- kelnos 4y agoIf 'blah' outputs binary data, then that would work, but would spew garbage to the terminal. Piping to 'dd' is probably more efficient regardless.