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.

Required fields*

10
  • 1
    If the program makes use of -f - there should also be something like -q for "quiet", given it's not done by default. Have you checked that? Commented Jun 21, 2019 at 13:54
  • I did check that, and no, there is no option to silence the program. I need to do that externally (or modify the source and recompile it, which I don't really like doing). Commented Jun 21, 2019 at 14:01
  • 2
    I'm not sure I understand what you're about but try program -f /dev/fd/3 3>&1 >/dev/null | ... Commented Jun 21, 2019 at 14:01
  • Unfortunately, that also silences the binary data the program is supposed to output (to fd 3). Commented Jun 21, 2019 at 14:03
  • 2
    Yes, it works. Provided, of course, that you're using the -o, not the -f option: src/nsntrace -o /dev/fd/3 wget www.google.com 3>&1 >/dev/null | .... I supposed you assumed that it cannot work. This is really annoying. Commented Jun 21, 2019 at 14:24