1FGCONSOLE(1) Linux User's Manual FGCONSOLE(1)
23
4
NAME
6fgconsole - print the number of the active VT.
78
SYNOPSIS
10fgconsole
1112
DESCRIPTION
14If the active Virtual Terminal is /dev/ttyN, then prints N on standard
15output.
16
NOTES
18Under devfs, the consoles are in /dev/vc/N. devfsd may maintain sym‐
19links for compatibility.
20
SEE ALSO
22chvt(1).
2324
25
26
27
14 Feburary 2002 FGCONSOLE(1)