anouk
0
Q:

bash stderr null

command > /dev/null # stderr
command > /dev/null 2>&1 # stdout and stderr
command &> /dev/null # stdout and stderr
0
command > /dev/null
#Example
echo "Hello World"
Hello World
echo "Hello World" > /dev/null
#Doesn't show anything
0

New to Communities?

Join the community