2>&1 will take stderr and output it to stdout.
2>filename.txt will take stderr and dump it in filename.txt
How do I just remove it all together? Like maybe to some sort of /dev/null equiv?
Thanks!
On Windows, you accomplish this via the nul device.
2>nul
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With