redirect stderr stdout to file

I‘m a new Linux system user. How can I redirect command error output /dev/null on a Linux or Unix-like system using Bash shell?

{ 4 comments }

Q. How do I redirect stderr to stdout? How do I redirect stderr to a file?

{ 10 comments }