Linux Blog

FGCONSOLE

Section: Linux User's Manual (1)
Updated: 14 Feburary 2002
Index Return to Main Contents

 

NAME

fgconsole - print the number of the active VT.

 

SYNOPSIS

fgconsole

 

DESCRIPTION

If the active Virtual Terminal is /dev/ttyN, then prints N on standard output.  

NOTES

Under devfs, the consoles are in /dev/vc/N. devfsd may maintain symlinks for compatibility.  

SEE ALSO

chvt(1).


 

Index

NAME
SYNOPSIS
DESCRIPTION
NOTES
SEE ALSO