Re: Check if running inside script

From: Korolev Sergey <serejk_at_febras.net>
Date: Thu, 08 Jun 2023 10:34:11 UTC
echo $TERM

> On 8 Jun 2023, at 20:16, Yuri <yuri@aetern.org> wrote:
> 
> 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.
>