Bash Cures Cancer
Learn the UNIX/Linux command line

Home     Man Pages     SpamDefeator


FGCONSOLE(1)		     Linux User's Manual		 FGCONSOLE(1)



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	 sym-
       links for compatibility.

SEE ALSO
       chvt(1).




			       14 Feburary 2002			 FGCONSOLE(1)


UNIX/Linux commands referenced on this page:
  1. links