3 ms·
If you don't mind being bash-specific, you can shorten 2>&1 | to just |& .
by JoshTriplett 13y ago
If you don't mind being bash-specific, you can shorten 2>&1 | to just |& .
- coherentpony 13y agoGood lord. I think you just changed my life.
- praptak 13y agoSimilarly &> works for redirecting both stderr and stdout to a file. >& is the alternate, less preferred syntax.