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 wrote:
> Hello,
>
> I'm gonna writing a bash install-script. There I want to make a
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 mail
Sorry if this comes up as a duplicate, but I'm confused as to whether
a post on "https://savannah.gnu.org/forum/forum.php"; is the same as a
post to the mailing list. Anyhow...
When using gnu screen, I'm in the habit of just dropping the
connection (I'll put my laptop to sleep, for example), and