Adjust the resolution of LinuxCLI-general Linux technology-Linux technology and application information. The following is a detailed description. A few days ago, the command line interface (CLI) of Linux suddenly came up with an idea, and set the display resolution of the terminal. The default resolution is too unsatisfactory.
In general, it is quite easy to adjust the resolution of the CLI, that is, you need to modify the parameters, but you cannot modify the parameters at will. You still need to study the modification before making the changes.
We all know that the resolution of a display is represented by vertical resolution X horizontal resolution, but the concept is color depth ). I'm afraid I know a lot about this concept. In fact, there is nothing. Simply put, the color depth can represent the number of colors, indicating that a pixel on the screen is represented by several binary bits. For example, if the color depth is 8, the color of each pixel is represented by 8 binary bits. In this way, the total number of colors that can be expressed is the 8th power of 2, that is, 256. of course, the greater the color depth value, the more colors it can represent and the more colorful it can be displayed.
Next, go to the topic.
In linux, you can set the CLI color by passing kernel parameters. In other words, relevant parameters are passed to the kernel during system boot. The task of passing parameters is completed by the bootstrap loader. Generally, the bootstrap loader is lilo or grub.
Compare the resolution and color depth with the corresponding Kernel Parameters