New related comments
Number of comments in the last 48 hours
Converting Mac style text files to Unix style
How to redirect stderr in Unix
This article has not been rated yet. After reading, feel free to leave comments and rate it.
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.