Re:What does " 2>&1 " mean?
by oguz-ismail2 on Friday February 27, 2026 @03:16AM
(#47177973)
This is one of those places where Bash diverges from POSIX. The standard says `echo &>/dev/null' is two commands, namely `echo &' and `>/dev/null', but Bash interprets it as redirect both stdout and stderr of `echo' to `/dev/null' both in normal and POSIX mode.
[ Parent
| on HN ]
There are no comments on this comment yet.