Home » Questions » Computers [ Ask a new question ]

How to change virtual ttys in Linux and OpenBSD with console commands?

How to change virtual ttys in Linux and OpenBSD with console commands?

In Linux one presses Alt-F1, Alt-F2 etc to change virtual ttys.

Asked by: Guest | Views: 297
Total answers/comments: 2
bert [Entry]

"Yes, you can using the chvt command. This needs sudo privileges to run.

CHVT(1)

NAME

chvt - change foreground virtual terminal

SYNOPSIS

chvt N

DESCRIPTION

The command chvt N makes /dev/ttyN the foreground terminal.
(The corresponding screen is created if it did not exist yet.
To get rid of unused VTs, use deallocvt )
The key combination (Ctrl-)LeftAlt-FN (with N in the range 1-12) usually has a similar effect.

You can find the virtual terminal you're currently on via the fgconsole command. This too requires sudo privileges to run."
Bwdmbj [Entry]

buy atorvastatin 10mg generic <a href="https://lipiws.top/">order atorvastatin sale</a> lipitor 20mg over the counter