What is Nostr?
nixCraft 🐧 /
npub1esm…xjlr
2023-06-14 22:22:23

nixCraft 🐧 on Nostr: If you need to redirect output and errors to /dev/null while using bash/sh shell ...

If you need to redirect output and errors to /dev/null while using bash/sh shell scripting, you can do so by combining stderr with stdout and then redirecting the combined output to /dev/null device. This will effectively redirect any error messages to /dev/null in #Linux & #Unix. See https://www.cyberciti.biz/faq/how-to-redirect-output-and-errors-to-devnull/

Author Public Key
npub1esmepyc8y2l6w03glx325zpjwp5ggvzuhqrg0csfylrevrdejxzsnexjlr