Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Several methods for centos to enter different terminals

Shulou Source: shulou.com Published: 2022-06-01 08:18:38 10月03日 Update

In centos5

Ctrl+alt+ (F1-F6) switches to character interface, ctrl+alt+F7 switches to graphical interface

In centos6,centos7

Ctrl+alt+ (F2-F6) switches to character interface, ctrl+alt+F1 switches to graphical interface

You can also use the chvt command to access different tty

Chvt command: switching terminals with command

Chvt (1-6) 1 is a graphical interface. 2-6 is the character interface

NAME

Chvt-change foreground virtual terminal (changing the foreground environment of the virtual terminal)

SYNOPSIS-chvt N

Example: ctrl + alt+F1 = chvt 1

There are also several shortcuts in the terminal window of the centos graphical interface

Ctrl+shift+n opens a new terminal window

Ctrl+shift+t adds a terminal tab to the current terminal window

Ctrl+shift+w closes a terminal tab

Ctrl+shift+q closes all terminal tabs

Tags: Terminal interface switching graphics commands characters different foreground simultaneous mode environment method Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB macOS Apple Xiaomi Huawei