| Linux Apache (6) Network (11) shell (12) |
How to redirect stderr in Unix
Question: I forgot how to redirect stderr in Unix.Answer: > will redirect stdout. Use the >& operator to redirect stderr:rm backup.zip >&junk It works in the Windows shell too.
Comments:
| |||||||||