I run at first terminal tmux, then I run another terminal with tmux and attach to session which I run at first terminal. First is smaller than second and I can't go to it to do something.

How to detach session from first and attach at second terminal using only that second one?

1 Answer 1



re-attach an attached session (detaching it from elsewhere)

tmux attach -d 


tmux attach-session -d

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .