From owner-freebsd-questions Thu Feb 27 5:49: 3 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B4C137B401 for ; Thu, 27 Feb 2003 05:49:02 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 453A343FA3 for ; Thu, 27 Feb 2003 05:49:01 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a152.otenet.gr [212.205.215.152]) by mailsrv.otenet.gr (8.12.6/8.12.6) with ESMTP id h1RDmeks007692 for ; Thu, 27 Feb 2003 15:48:52 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.7/8.12.7) with ESMTP id h1RDmbFb001750 for ; Thu, 27 Feb 2003 15:48:37 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.7/8.12.7/Submit) id h1RDmbkC001749 for freebsd-questions@FreeBSD.ORG; Thu, 27 Feb 2003 15:48:37 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 27 Feb 2003 15:48:37 +0200 From: Giorgos Keramidas To: freebsd-questions@FreeBSD.ORG Subject: Re: determining active console Message-ID: <20030227134837.GD1297@gothmog.gr> References: <20030227113959.GB610@gicco.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030227113959.GB610@gicco.homeip.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2003-02-27 12:39, Hanspeter Roth wrote: > Hello, > how can I determine the active console? Use the tty(1) command: : giorgos@gothmog[15:47]/home/giorgos$ tty : /dev/ttyv1 : giorgos@gothmog[15:47]/home/giorgos$ /dev/ttyv0 is the first virtual console, ttyv1 the second, etc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message