screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to check if screen is working


From: Chris
Subject: Re: how to check if screen is working
Date: Mon, 22 Nov 2010 21:14:08 -0500

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 <address@hidden> 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
address@hidden
http://lists.gnu.org/mailman/listinfo/screen-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]