Skip to main content
The terminology is perfect.
Source Link
user26112
user26112

I am using .byobu/windows to start up some screen sessions, and i'mI'm trying to start a script that will exit to an (interactive?)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...

(forgive me if I used the wrong terminology in places)

.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...

(forgive me if I used the wrong terminology in places)

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...

Source Link
smremde
  • 151
  • 2
  • 5

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

.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...

(forgive me if I used the wrong terminology in places)