在 shell 下找出 Terminal 視窗的寬度...

Ubuntu 下不小心拉到視窗大小 (拉動的時候不會顯示長寬),所以想要土法煉鋼找指令列出視窗寬度:

tput cols

出自 StackOverflow 的「How do I find the width & height of a terminal window?」。

This entry was posted in Computer, Murmuring, Software and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *