Search This Blog

22 September, 2016

Increasing the linux terminal console column width and number of rows

very useful tip for embedded Linux engineers and those who work with Linux Console using minicom or teraterm


very useful tip for embedded Linux engineers and those who work with Linux Console using minicom or teraterm

normally if we type ps in serial console, it will show the process , if the length is more than 80 character(which is default) we cannot see the string after 80 characters in the consol,

with the below command you can adjust the width of the terminal with cols argument and number of rows using the  argument rows to the command stty

stty cols 160 rows 40

this can be used separate also
stty cols 160
stty rows 50

Hope this help in ps and htop command when u run and other applications


No comments:

Post a Comment

tmux enabling mouse interaction

Add the below line to the ~/.tmux.conf setw -g mouse on save the file and exit from the tmux shell, you should be able to use your mouse to ...