1

I want to run one command to start tmux AND run a command, but I want the tmux session to stay open after the command finishes in tmux. The command I'm currently using is:tmux new-session -d -s minecraft_server 'bash /home/ratus5/script.sh'

This starts a session and runs the script, but exits after the script finishes, but I need to to stay open.

0 Answers0