GNU/Linux |
CentOS 5.6 |
|
![]() |
fgconsole(1) |
![]() |
fgconsole − print the number of the active VT.
fgconsole
If the active Virtual Terminal is /dev/ttyN, then prints N on standard output.
Under devfs, the consoles are in /dev/vc/N. devfsd may maintain symlinks for compatibility.
chvt(1).
![]() |
fgconsole(1) | ![]() |