mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 06:52:51 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/fgconsole
Normal file
17
tldr/linux/fgconsole
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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]}}`
|
||||
Reference in New Issue
Block a user