bashterminator

linux terminator: how to run a bash script not close it after done


I am using terminator terminal in linux

I am trying to run a bash script after starting terminator.

$ terminator -x sh /home/test/test.sh

it opens terminator runs the script and closes after its finished

i want the terminator not to close after the script is executed


Solution

  • I didn't find a hold option like in termite or xterm in the manpage of terminator, but I found an answer here (1) for terminator:

    It has an option similar to that in Gnome Terminal, you have to create a profile - e.g. called "hold" - with that option enabled.

    To run command and stay open:

    terminator -e '<command>' -p hold.