How can I suppress error messages sent to a console?
On: Ubuntu? Fedora? Debian? CentOS? RedHat?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityEdit the configuration of your syslog daemon: /etc/rsyslog.conf
, /etc/syslog-ng.conf
or similar. Look for "console".
command 2>/dev/null
for all distributions and even other unixes.