3 ms·
I don't get the confusion. You redirect stdout with ">" and stderr with "2>" (a two-letter operator). If you want to redirect to stdout / stderr, you use "&1"
by xeyownt 8mo ago
I don't get the confusion.
You redirect stdout with ">" and stderr with "2>" (a two-letter operator).
If you want to redirect to stdout / stderr, you use "&1" or "&2" instead of putting a file name.