Redirection

To suppress — redirect STDERR to /dev/null , which is a Pseudo-device special file. (bit bucket)      (https://stackoverflow.com/questions/10508843/what-is-dev-null-21)

Documentation:

Use: (& means whatever follows is a file descriptor, not a filename)

  • &> will redirect all (STDOUT and STDIN)
  • 2>&1 simply says redirect STDERR to STDOUT

Pseudo-devices:

Device nodes on Unix-like systems do not necessarily have to correspond to physical devices. Nodes that lack this correspondence form the group of pseudo-devices. They provide various functions handled by the operating system. Some of the most commonly used (character-based) pseudo-devices include: