SCIENTIFIC-LINUX-USERS Archives

December 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Stodola <[log in to unmask]>
Reply To:
Mark Stodola <[log in to unmask]>
Date:
Sat, 10 Dec 2011 14:54:01 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
On 12/10/2011 1:49 PM, Andrew Z wrote:
> 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
I don't practice this myself, but I suspect an entry in /etc/inittab 
like this would suffice:
tty11::respawn:/usr/bin/tail -f /var/log/messages

-Mark

ATOM RSS1 RSS2