FGCONSOLE
NAME SYNOPSIS DESCRIPTION SEE ALSO
fgconsole - print the number of the active VT.
fgconsole
If the active VT is /dev/ttyN, then prints N on standard output.
chvt(1).
One page links to fgconsole(1):