13 lines
292 B
Markdown
Raw Normal View History

# 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]}}`