Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Feb 2003 15:48:37 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: determining active console
Message-ID:  <20030227134837.GD1297@gothmog.gr>
In-Reply-To: <20030227113959.GB610@gicco.homeip.net>
References:  <20030227113959.GB610@gicco.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-02-27 12:39, Hanspeter Roth <hampi@rootshell.be> 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




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