Web | This Site

Unix for Beginners
Unix Shell Programming
Advanced Unix
Unix Useful References
Unix Useful Resources
Selected Reading
© 2011 TutorialsPoint.COM

| Home |  | References |  | Discussion Forums |  | About TP

# fgconsole - Unix, Linux Command

# 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)

Advertisement

Online Image Processing

Indian Baby Names