Artificial intelligent assistant

Launching shell script from SSH and disconnect I have a script which I run from SSH that launches several processes which I would like to keep open when I disconnect from my session. Is that feasible? Launching the script in background is not a solution.... **UPDATE** My script launches a java process with a different classpath and calls other 4 scripts, each of them launching different java processes with different classpaths.

If the processes are somewhat interactive / not suitable for running as daemons, you're looking for something like GNU Screen or tmux \- both of them allow you to start a session with multiple windows in them and detach and reattach that session:


tmux new-session session-1
# start an application
C-b d # C-b means Ctrl-b
# You're now back in your terminal and can disconnect from the server
# After connecting again, use
tmux attach -t session-1
# to get back to your previously created session.


The workflow for screen is similar but I don't know it off the top of my head.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 8eac14c4575dae3e9bc6b6c18db6723d