FGCONSOLE(1)           Linux User's Manual           FGCONSOLE(1)

NAME
       fgconsole - print the number of the active VT.

SYNOPSIS
       fgconsole

DESCRIPTION
       If  the  active VT is /dev/ttyN, then prints N on standard
       output.

SEE ALSO
       chvt(1).

Console tools              15 Oct 1997                          1