Exit tmux window without quitting the Terminal program

terminaltmux

OK I'm new to this. I installed tmux to run a several days experiment. After typing tmux new -s name I got a new window with green banner at the bottom. I compile and run java program. Now I do not know how to exit the window (while leave it running). The bash (or whatever) cursor is not responding because the java program is still running. My solution so far is to quit the Terminal program completely and reopen it again. Any ideas on how to quit the tmux window without exiting the whole Terminal program?

Best Answer

Detach from currently attached session

Session

Ctrl+ b d or Ctrl+ b :detach

Screen

Ctrl+ a Ctrl+ d or Ctrl+ a :detach

Related Question