Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

[BASH] Delete screen if word "Critical" exits in screen
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[BASH] Delete screen if word "Critical" exits in screen

xrzxrz Member

So i have a screen:

screen -S Monitor blahblahblah some command

How can i close the screen:

screen -S Monitor -X quit

if there was word Critical? If NOT it keeps running

Thx!

Comments

Sign In or Register to comment.