English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Linux resize command sets the size of the terminal window.
Executing the resize command can set the size of the virtual terminal window.
resize [-cu][-s <column number> <row number>]
Parameters:
Use C Shell
[root@linux w3codebox]# resize -c set noglob; setenv COLUMNS '99; setenv LINES '34; unset noglob;
Use Bourne Shell
[root@hnlinux w3codebox]# resize -u COLUMNS=99; LINES=34; export COLUMNS LINES;
Set Specified Size
[root@hnlinux w3codebox]# resize -s 80 160