I have a shell script that works in my personal terminal and in the CI environment. In CI, python requires the determination of adjacent values ββfor the height and width of the shell.
I would like to do something in mind:
if (I am running in shell context) determine height/width of terminal else don't fi
How can I express this condition in a bash script?
source share