1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-30 13:53:35 +02:00
tldr/pages/linux/fgconsole.md
Managor a9f13aa5d6
fgconsole: add page (#17831)
* Create fgconsole.md
2025-08-25 19:11:26 -07:00

12 lines
292 B
Markdown

# fgconsole
> Print the number of the foreground virtual terminal.
> More information: <https://manned.org/fgconsole>.
- Print current terminal number or `serial` if the terminal is serial:
`fgconsole`
- Print the next unallocated virtual terminal:
`fgconsole {{[-n|--next-available]}}`