Nguyễn Thị Thảo Sương
New member
What does 2 dev Null mean?
Answer
Specifying 2>/dev/null will filter out the errors so that they will not be output to your console. In more detail: 2 represents the
error descriptor, which is where errors are written to. By default they are printed out on the console. > redirects output to the specified place, in this case /dev/null.
Answer
Specifying 2>/dev/null will filter out the errors so that they will not be output to your console. In more detail: 2 represents the
error descriptor, which is where errors are written to. By default they are printed out on the console. > redirects output to the specified place, in this case /dev/null.