[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to check if screen is working
From: |
Christian Ebert |
Subject: |
Re: how to check if screen is working |
Date: |
Tue, 23 Nov 2010 10:41:29 +0100 |
User-agent: |
Mutt/1.5.21+17,mq+1 (c9fd966110ba) (2010-09-15) |
* jonnexen on Monday, November 22, 2010 at 09:24:22 +0100
> I'm gonna writing a bash install-script. There I want to make a
> command that checks if screen us running. If it's running the script
> should be going on. If not there should be an error. Any ideas?
In case you mean: is the script running from within screen? you
can query the $STY environment variable, otherwise you probably
need screen -ls.
c
--
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions