Re:Linux command line techniques: IO redirection and piping
by stevelosh on Wednesday November 03, 2010 @01:25PM
(#1865581)
This is all pretty basic stuff. One thing that always bites me is trying to use sudo to redirect to a protected file. This doesn't work, because the shell is doing the redirection, not sudo:
You can get around this by using sudo to run a new shell that does the redirection:
[ Parent
| on HN ]