What does "> /dev/null 2>&1" mean?
Ever wondered what the trailing garbage in some commands on a Unix system mean? What's the funny looking greater-than, ampersands and numbers after the commands mean? In this article we’ll explain those weird commands.
Here’s an example command:
Below is a graphical representation of whats going on. This is explained later.
Here’s an example command:
mycommand > /dev/null 2>&1
