centos man page for fgconsole

Query: fgconsole

OS: centos

Section: 1

Links: centos man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

NAME
fgconsole - print the number of the active VT.
SYNOPSIS
fgconsole [--help|--version|--next-available]
DESCRIPTION
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. --next-available Will show the next unallocated virtual terminal. Normally 6 virtual terminals are allocated, with number 7 used for X; this will return "8" in this case.
NOTES
Under devfs, the consoles are in /dev/vc/N. devfsd may maintain symlinks for compatibility.
SEE ALSO
chvt(1). 14 Feburary 2002 FGCONSOLE(1)
Related Man Pages
vlock(1) - redhat
console(4) - linux
vcs(4) - redhat
conspy(1) - debian
ports(7) - osf1
Similar Topics in the Unix Linux Community
how to know the list of all commands supported by unix ?
Can't see home folder on one NFS mount but can in another mount on another share
TuxOnIce stalls 3 times before resuming