Hacker News new | ask | show | jobs
by Vecr 1334 days ago

    blah | sudo tee /some/file > /dev/null
would though. Both are probably fine.
1 comments

If 'blah' outputs binary data, then that would work, but would spew garbage to the terminal. Piping to 'dd' is probably more efficient regardless.