Linux setconsole Command
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
Linux Tutorial
Linux TutorialLinux IntroductionLinux InstallationLinux Cloud ServerInstall Linux via WSLLinux System Boot ProcessLinux System Directory StructureLinux Forget Password SolutionLinux Remote LoginLinux File Basic AttributesLinux File and Directory ManagementLinux User and Group ManagementLinux Disk ManagementLinux vi/vimLinux yum CommandLinux apt Command
Shell Tutorial
Shell TutorialShell VariablesShell Passing ArgumentsShell ArraysShell OperatorsShell echo CommandShell printf CommandShell test CommandShell Flow ControlShell FunctionsShell Input/Output RedirectionShell File Inclusion
Linux Reference Manual
Linux Command ManualNginx Installation and ConfigurationMySQL Installation and ConfigurationLinux Quiz
Nginx Installation and Configuration
Linux setconsole Command
The Linux setconsole command is used to set the system terminal.
setconsole can be used to specify the system terminal.
Syntax
setconsole
Parameters:
- serial Use the PROM terminal.
- ttya, cua0, or ttyS0 Use the first serial port device as the terminal.
- ttyb, cua1, or ttyS1 Use the second serial port device as the terminal.
- video Use the video card on the host as the terminal.
Examples
Set the terminal
# setconsole ttyS0
YouTip