Skip to main content
5 events
when toggle format what by license comment
Mar 4, 2016 at 17:32 history edited Wildcard CC BY-SA 3.0
2>&1 >/dev/null doesn't work as author thinks.
Dec 23, 2015 at 15:19 history edited Mathieu CC BY-SA 3.0
improved answer
Dec 23, 2015 at 13:28 comment added Jeff Schaller Note that 2>&1 > /dev/null assigns stderr to stdout, then assigns stdout to /dev/null -- the upshot will be that you'll see stderr messages. If the goal is to 'silence the script', you should rearrange the assignment to: > /dev/null 2>&1
Dec 22, 2015 at 21:04 vote accept watchmansky
Dec 22, 2015 at 20:49 history answered Mathieu CC BY-SA 3.0