>/dev/null
redirects the command standard output to the null device, which is a special device which discards the information written to it
2>&1
redirects the standard error stream to the standard output stream (stderr = 2, stdout = 1). Note that this takes the standard error stream and points it to same location as standard output at that moment. This is the reason for the order >/some/where 2>&1
because one needs to first point stdout to somewhere and then point stderr to the same location if one wants to combine both streams in the end.
In practice it prevents any output from the command (both stdout and stderr) from being displayed. It's used when you don't care about the command output.
650
or3000
echoed to screen based on nighttime or daytime brightness levels. Whereas the other question is strictly about error messages (File Descriptor 2>/dev/null), One notorious example isGtk transient parent
in Zenity and Yad which use Dialog Windows instead of full windows. My initial comment was too hasty... PS w/formatting:bash -c "echo $IntBrightness | sudo tee $backlight" > /dev/null
– WinEunuuchs2Unix Sep 13 '18 at 01:45