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?



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

tmux attach -d 


tmux attach-session -d

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.