Re: Check if running inside script

From: Yuri <yuri_at_aetern.org>
Date: Thu, 08 Jun 2023 10:16:09 UTC
Andrea Venturoli wrote:
> Hello.
> 
> Is there a way a shell script of mine can check if running inside
> sysutils/screen?

Answers on stackexchange (I'm using tmux so didn't check) mention that
screen sets STY env var, check it.