Re: how to check if screen is working

Chris <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
how bout using output from:

screen -ls

something like:

if [[ `screen -ls|grep -c tached` -gt 0 ]]; then echo "screen is
running";else echo "screen is not running";fi



On Mon, Nov 22, 2010 at 3:24 AM, jonnexen <jonnexen-gM/[email protected]> wrote:

> Hello,
>
> 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?
>
> best regards, jonnexen
>
> _______________________________________________
> screen-users mailing list
> screen-users-mXXj517/[email protected]
> http://lists.gnu.org/mailman/listinfo/screen-users
>

_______________________________________________
screen-users mailing list
screen-users-mXXj517/[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users
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.