[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: messages, errors to console?
ATUL.G.MUNDRA forced the electrons to say:
> hi all
>
> also is it possible to get all the messages that are logged into
> /var/log/messages to the console in real time, say to tty8? if so, how?
>
> also, how do i change the color combination of my console (say, to blue
> text on white)?
>
Simple solution - edit your /etc/inittab file, and add a line like:
8:234:respawn:/bin/tail -f /var/log/messages > /dev/tty8
Then issue the command
telinit q
And you are through.
Binand
- --
main(int c,char **v){while(!fork()){strcpy(v[0],tmpnam(0));sleep(1);}}
A program that changes its name and pid every second.
Try this program at your own risk! ---> Binand <---
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
Please do not post HTML email to this mailing list. HTML mails will be
thoroughly ignored and derisively sniggered at in private.
------------------------------