Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How to detach from a screen session from within a tmux session?

Writer Olivia Zamora

How to detach from a screen session from within a tmux session?

I've seen posts of how to detach from screen within screen and from tmux within tmux, but none of them worked for me.

2 Answers

To add on @atype answer. If the prefix key is same ie ctrl + A then you need to press A double time then D ie

ctrl + A + A + D

1

screen and tmux use different prefix keys by default:

  • Ctrl+A for screen
  • Ctrl+B for tmux

Just detach from screen session by sending Ctrl+A, D. If you configured them both to use the same prefix, tmux will pass prefix the second time you press it.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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