Created
January 17, 2018 12:08
-
-
Save PaulChana/bcd12f1fbae59897269b5e0e5dcf9810 to your computer and use it in GitHub Desktop.
[bash cols and rows] Get number of rows and cols #bash #shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tput lines # outputs the number of lines of the present terminal window. | |
tput cols # outputs the number of columns of the present terminal window. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment