Re: Check if running inside script
- Reply: Andrea Venturoli : "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: Mon, 08 May 2023 13:13:51 UTC
> On May 8, 2023, at 8:35 AM, Andrea Venturoli <ml@netfence.it> wrote: > > Hello. > > Is there a way a shell script of mine can check if running inside sysutils/screen? Well, the environment variables TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal[…longer output snipped] and TERM=screen Might be a hint. -Dan