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