Re: Check if running inside script
- Reply: little.analyst892_a_aceecat.org: "Re: Check if running inside script"
- In reply to: Yuri : "Re: Check if running inside script"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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. >