Forrest logo
back to the Ctrl-B tool

tmux:tldr:714ac

tmux: Detach from the current session (inside a tmux session).
$ Ctrl-B d
try on your machine

This command "Ctrl-B d" is a keyboard shortcut used in some terminal emulators and terminal multiplexer software.

Specifically, it is used in the GNU Screen software, which is a terminal multiplexer that allows you to run multiple terminal sessions within a single window.

When you press "Ctrl-B d" in GNU Screen, it detaches the current session from the terminal window, allowing you to restore it later or switch to a different session.

Detaching a session means that it keeps running in the background without being visible on the screen. This can be useful when you want to keep a long-running process active but need to temporarily switch to another task without closing the terminal window.

To restore a detached session, you can use the command "screen -r" (or "screen -r " if you have multiple detached sessions). This brings the session back to the foreground and makes it visible again in the terminal window.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the Ctrl-B tool