Am 10.12.2011 20:49, schrieb Andrew Z:
> gys,
>  how can i send the  /var/log/messages on a designated terminal?
>  i remember some many years ago i saw on of SAs having messages file to
> 11 or 10 terminal from the moment machine booted. The gain - they just
> switch to it instead of typing "tail ....".
> 
> Hope makes sence and thank you in advance.
> Andrew

rsyslogd can write to tty devices just like normal files (well, it
requires special handling but that is done automatically). Just edit
/etc/rsyslog.conf and add a line like this to the rules section:

*.info;mail.none;authpriv.none;cron.none        /dev/tty12

Regards,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to