How do you redirect an error?

Huỳnh Hiền

New member
How do you redirect an error?
Answer
When you redirect console output using the > symbol, you are only redirecting STDOUT. In order to redirect STDERR, you have to specify
2> for the redirection symbol.
 

Tìm kiếm

Back
Top