I am a newbie in shell scripting and want to use the screen command to automate the below scenario:
- Create a screen
session1
and execute a shellscript1
- create another screen
session2
and execute another shellscript2
, and if this result is success then go to screensession1
and resume thescript1
there by pressing enter.
Is this possible using screen? please help with your suggestions how this can be done.