Answers for "bash get width of terminal"

0

bash get width of terminal

# Gets the terminal width, in # characters
tput cols
# Gets the number of rows in the terminal
tput lines
Posted by: Guest on June-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language