Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    In short: yes - redirect /dev/stderr to /dev/null. But, if you can't figure it out on your own, you shouldn't try, as you are more likely to break something fatally than succeed. Commented May 13, 2013 at 8:11
  • @Benubird stderr != /dev/stderr. Redirecting that file won't do anything. The file in /dev/ is just for convenience. Commented May 14, 2013 at 3:51
  • @ChrisDown you're right, /dev/stderr is just a link. Still, a lot of processes write to that instead of fd/2, which you could also redirect. It gets more complicated from there - which is why I left a comment instead of an answer :). Commented May 14, 2013 at 8:11