I have a bash script that creates some file using dd. The problem is dd throws a great amount of output that is going to mess with the output of my script.
Searching around I've found a solution:
dd if=boot1h of="/dev/r$temp1" >& /dev/null
Is there an alternative, or is redirecting to /dev/null the only way?

/dev/null-- you're sudoing becauseddneeds write access to/dev/r$temp1(I assume). You're going to need to do that no matter how you suppressdd's output; redirecting output to/dev/nulldoesn't require root – Michael Mrozek♦ Jan 31 '11 at 17:40cat,headortailinstead. – Gilles Jan 31 '11 at 19:46