bash NULL DEVICE – redirecting output & errors
source simpleit.rocks
descriptors:
- stdin: 0
- stdout: 1
- stderr: 2
1>/dev/null ## Redirect OUTPUT (stdout) to null
2>/dev/null ## Redirect ERRORS (stderr) to null
&>/dev/null ## Redirect OUTPUT and ERRORS (stdout and stderr) *used ampersand!
** READ FULL DETAILS @ LINK ABOVE