FGCONSOLE(1) | General Commands Manual | FGCONSOLE(1) |
fgconsole - print the number of the active VT.
fgconsole [ -h --help | -V --version | -n --next-available ]
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.
14 Feburary 2002 | kbd |