This gist is inspired by YASP short video below, https://www.youtube.com/shorts/2UFcAU8nTQs
The intention is to check the numbers of COLUMNS and FILES in a Bash Window Terminal
This gist is inspired by YASP short video below, https://www.youtube.com/shorts/2UFcAU8nTQs
The intention is to check the numbers of COLUMNS and FILES in a Bash Window Terminal
| #!/usr/bin/env bash | |
| shopt -s checkwinsize | |
| # This line is intended to execute a external command in order to set up variables COLUMNS and LINES | |
| (:) | |
| echo "COLUMNS: $COLUMNS LINES: $LINES" |