FGCONSOLE

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

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).