How to write to console

Sunil Sunder Raj unixtools at hotmail.com
Sat Apr 5 03:17:13 PST 2003


Hi,
In the file /etc/syslog.conf.

Change the line
*.err;kern.debug;auth.notice;mail.crit         /dev/console
TO
*.err;kern.debug;auth.notice;mail.crit          /var/log/console.log

touch /var/log/console.log
chmod 777 /var/log/console.log

Regards
SSR







>From: Doug Poland <doug at polands.org>
>To: questions at freebsd.org
>Subject: How to write to console
>Date: Fri, 4 Apr 2003 08:29:19 -0600
>
>Hello,
>
>I'd like to write to the "default" console of a -STABLE box.  In this
>case, no one is logged in on that console/terminal.
>
>The commands write, talk, and wall mention writing to a terminal of a
>logged in user.  Ideally, I'd like to clear the screen and display an
>80x25 message.
>
>Does anyone know how I can accomplish this?
>
>--
>Regards,
>Doug
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at freebsd.org"


_________________________________________________________________
Catch the Oscar fever. See winners & losers. 
http://server1.msn.co.in/MSNSpecials/oscar2003/index.asp Right here



More information about the freebsd-questions mailing list