YouTip LogoYouTip

Linux Comm Resize

# Linux resize Command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux resize command sets the size of the terminal window. Executing the resize instruction can set the window size of a virtual terminal. ### Syntax resize **Parameters**: * -c Use C Shell commands to change the window size even if the user environment is not C Shell. * -s Set the vertical height and horizontal width of the terminal window. * -u Use Bourne Shell commands to change the window size even if the user environment is not Bourne Shell. ### Examples Using C shell [root@linux ]# resize -c set noglob; setenv COLUMNS '99'; setenv LINES '34'; unset noglob; Using Bourne shell [root@hnlinux ]# resize -u COLUMNS=99; LINES=34;export COLUMNS LINES; Set a specified size [root@hnlinux ]# resize -s 80 160 [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← File TruncateFile Truncate β†’