From owner-freebsd-questions Thu Jan 21 07:19:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA14620 for freebsd-questions-outgoing; Thu, 21 Jan 1999 07:19:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA14606 for ; Thu, 21 Jan 1999 07:19:08 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.8.8/8.8.8) id KAA12133 for freebsd-questions@FreeBSD.ORG; Thu, 21 Jan 1999 10:20:24 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199901211520.KAA12133@cc942873-a.ewndsr1.nj.home.com> Subject: Redirecting /dev/console To: freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Date: Thu, 21 Jan 1999 10:20:24 -0500 (EST) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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