2 ms·
That’s nothing, try `&>`.
by tempodox 7mo ago
That’s nothing, try `&>`.
- oguz-ismail2 7mo agoThis 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.
- jolmg 7mo agoAlso known as `>&`. cmd >&out-and-err.txt