Linux CLI - Pipes and Redirection
You want to discard both standard output and error from a command, but your script still shows errors. What is wrong with this command?
command > /dev/null 2>1
command > /dev/null 2>1
2>&1 -> Option D15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions