Re: Check if running inside script
- Reply: Korolev Sergey : "Re: Check if running inside script"
- In reply to: Andrea Venturoli : "Check if running inside script"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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.