.TH FGCONSOLE 1 "15 Oct 1997" "Console tools" "Linux User's Manual" .SH NAME fgconsole \- print the number of the active VT. .SH SYNOPSIS .B fgconsole .SH DESCRIPTION If the active VT is .IR /dev/ttyN , then prints .I N on standard output. .SH "SEE ALSO" .BR chvt (1).