mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-30 10:13:46 +02:00
13 lines
292 B
Markdown
13 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]}}`
|