Redirections
Bash Redirections
When Bash starts, normally, 3 file descriptors are opened, 0, 1 and 2 also known as standard input (stdin), standard output (stdout) and standard error (stderr).
| num | val | 
|---|---|
| 0 | stdin | 
| 1 | stdout | 
| 2 | stderr | 
2>/dev/null
When Bash starts, normally, 3 file descriptors are opened, 0, 1 and 2 also known as standard input (stdin), standard output (stdout) and standard error (stderr).
| num | val | 
|---|---|
| 0 | stdin | 
| 1 | stdout | 
| 2 | stderr | 
2>/dev/null