tput cols
tells you the number of columns.tput lines
tells you the number of rows.
More Related Contents:
- Color theme for VS Code integrated terminal
- Atom certificate has expired [closed]
- gcloud command not found – while installing Google Cloud SDK
- Octave-Gnuplot-AquaTerm error: set terminal aqua enhanced title “Figure 1″…unknown terminal type”
- Change default terminal app in Visual Studio Code on Mac
- Changing the default path of Visual Studio Code’s integrated terminal
- Shortcut for running terminal command in VS code
- Save terminal tabs to saved workspace VSCode
- Sub-process in Python execute two task? [closed]
- How do I execute a program or call a system command?
- Expert R users, what’s in your .Rprofile? [closed]
- How to terminate process from Python using pid?
- Appending a line to a file only if it does not already exist
- How to open a new tab in GNOME Terminal from command line? [closed]
- Can colorized output be captured via shell redirect? [duplicate]
- How to use ‘cp’ command to exclude a specific directory?
- How do I make this file.sh executable via double click?
- Linux command to list all available commands and aliases
- In OS X Lion, LANG is not set to UTF-8, how to fix it?
- Pasting code into terminal window into vim on Mac OS X
- Read input.txt file and also output.bmp file from terminal (C-programming)
- Run / Open VSCode from Mac Terminal
- Open new Terminal Tab from command line (Mac OS X)
- BASH copy all files except one
- Portable text based console manipulator
- Python module to enable ANSI colors for stdout on Windows?
- How do I retrieve the terminal width in Perl?
- Git is not working after macOS update (“xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools”)
- How to highlight and color gdb output during interactive debugging?
- Print rpath of an executable on macOS