Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 1999 10:20:24 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        freebsd-questions@FreeBSD.ORG (FreeBSD Questions)
Subject:   Redirecting /dev/console
Message-ID:  <199901211520.KAA12133@cc942873-a.ewndsr1.nj.home.com>

next in thread | raw e-mail | index | archive | help
I have a machine that I typically access remotely via telnet or ssh. I
would like to receive console messages on my remote terminal. (This is
the machine I mailed here about two days ago which had cron
inexplicably crash; I want to keep an eye on it). I added a
/etc/fbtab so that I will own /dev/console,

 /dev/ttyp0      0600            /dev/console

But I can't seem to redirect it how I want. I tried just,

% /dev/console > /dev/ttyp0 &

And then,

% echo "TEST" > /dev/console

But nothing popped up on the ttyp0 terminal (but it did on ttyv0).

I would actually like to tee the output to both ttyp0 and ttyv0. What
is the "best" way to do this? 

BTW, the machine in question does not have X installed so the way I
would typically do it, 'xconsole' or 'xterm -C,' are not options.
-- 
Crist J. Clark                           cjclark@home.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901211520.KAA12133>