Command Output Redirecting 2>&1

2>&1:

——

2>&1 redirects output going to file-handle 2 (stderr) to file handle 1 (stdout), so that stderr and stdout combine into a single redirectable output stream.

Leave a Reply

Your email address will not be published. Required fields are marked *