Resize
function Description: Set the size of the terminal window.
syntax:resize [-cu][-s < columns > < lines]
Supplemental Note: Execute resize instruction to set the window size of the virtual terminal.
Parameters
-C Even if the user environment is not C shell, also use C shell instructions to change the size of the window.
-S < columns > < number of rows > sets the vertical height and horizontal width of the terminal window.
-U even if the user environment is not Bourne shell, also use Bourne shell instructions to change the window size.
Example 1: Using C shell
[Root@linuxso linuxso.com]# Resize-c
Set Noglob;
Setenv COLUMNS ' 99 ';
setenv LINES ' 34 ';
Unset Noglob;
Example 2: using the Bourne shell
[Root@linuxso linuxso.com]# Resize-u
columns=99;
lines=34;
Export COLUMNS LINES;
[Root@linuxso linuxso.com]#
Example 3: set the specified size
[Root@linuxso linuxso.com]# resize-s 80 160