Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: