FGCONSOLE(1) | General Commands Manual | FGCONSOLE(1) |
fgconsole - print the number of the active VT.
fgconsole [options]
If the active Virtual Terminal is /dev/ttyN, then prints N on standard output.
If the console is a serial console, then "serial" is printed instead.
Under devfs, the consoles are in /dev/vc/N. devfsd may maintain symlinks for compatibility.
Andries Brouwer <aeb@cwi.nl>
Manpage by Alastair McKinstry <mckinstry@computer.org>
chvt(1), deallocvt(1), openvt(1)
24 October 2024 | kbd |