How to write to console

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

In the file /etc/syslog.conf.

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

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


>From: Doug Poland <doug at>
>To: questions at
>Subject: How to write to console
>Date: Fri, 4 Apr 2003 08:29:19 -0600
>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?
>freebsd-questions at mailing list
>To unsubscribe, send any mail to 
>"freebsd-questions-unsubscribe at"

Catch the Oscar fever. See winners & losers. Right here

More information about the freebsd-questions mailing list