📜  bash 获取终端的宽度 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:39.547000             🧑  作者: Mango

代码示例1
# Gets the terminal width, in # characters
tput cols
# Gets the number of rows in the terminal
tput lines