What does " 2>&1 " mean?
Hacker News
February 26, 2026
To combine stderr and stdout into the stdout stream, we append this to a command:
2>&1
For example, the following command shows the first few errors from compiling main.cpp:
g++ main.cpp 2&...
Verticals
techstartups
Originally published on Hacker News on 2/26/2026