Friday, 23 August 2013

screen /bin/bash execute script and then go to interactive shell

screen /bin/bash execute script and then go to interactive shell

I am using .byobu/windows to start up some screen sessions, and I'm trying
to start a script that will exit to an interactive shell once it has
completed. Is this possible?
I've tried:
screen -t test /bin/bash -i /path/to/script
screen -t test /bin/bash - /path/to/script
I realize I could just add a /bin/bash to the end of the script, but I
don't want that as a solution for when I run the script in a shell...

No comments:

Post a Comment