DEV Community

Discussion on: Stupid Short: Bash's |, >, >>, <, 2>>, 2> Operators

Collapse
 
sinewalker profile image
Mike Lockhart • Edited

This is my favourite "shut up, I don't want to see any output, even if it fails, just do, or don't do, the thing" shortcut:

call-foo &> /dev/null
Thread Thread
 
fennecdjay profile image
Jérémie Astor

I think you have a small typo here.
Shouldn't it read

call-foo &> /dev/null
Thread Thread
 
sinewalker profile image
Mike Lockhart

Thank you, fixed 😁

Thread Thread
 
fennecdjay profile image
Jérémie Astor

You're welcome.