Topics: Red Hat / Linux

Resolve a messed up terminal screen

Sometimes, a terminal screen is messed up. This often happens after resizing the screen, or when you're logged in through a jump box.
br /> To resolve this matter, simply type "resize" and it should help in resizing the screen to the correct number of lines and columns. For example:

$ resize
COLUMNS=144;
LINES=78;
export COLUMNS LINES;
The "resize" command can be found in /usr/bin/resize, and if not installed on the system, can be installed by installing the "xterm" package, which contains the /usr/bin/resize binary.



If you found this useful, here's more on the same topic(s) in our blog:


UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.

Interested in learning more?