Re: how to check if screen is working

Christian Ebert <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Organization Black Trash Productions http://www.blacktrash.org/
Message-ID <[email protected]>
* 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.