How do I determine the number of rows and columns in a gnome-terminal window while resizing?

I’m running Fedora 21 which comes with gnome 3.14. In older versions, when I resized a terminal, a little box would appear that showed the dimensions of the terminal (in columns and rows, not pixels; defaulting to 24×80). Now when I resize the terminal, this box doesn’t appear. How do I re-enable this feature, or otherwise determine the number of rows and columns in my terminal?

Asked By: drs

||

From some quick searching, it doesn’t look like there is a way to get gnome to display the dimensions.

You can run these commands inside the terminal window to get the lines and columns respectively:

tput lines
tput cols 
Answered By: hornj
Categories: Answers Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.