By acciedent I created another tmux session with the same name. What should I do? tmux…
- User
By acciedent I created another tmux session with the same name. What should I do? tmux new -s edut710holo duplicate session: edut710holo
Assistant
You haven't accidentally created another session. That error message—duplicate session: edut710holo—is just tmux telling you that a session with that name already exists, so it prevented you from creating a new one.Your original session is safe and sound.What to do nowMost likely, you just want to re-enter that existing session. You can do this by attaching to it.To attach to your existing session, run:Bashtmux attach -t edut710holo (You can also use the shorter version: tmux a -t edut710holo)To see a list of all your sessions to confirm, you can run:Bashtmux ls You will see edut710holo in the list.💡 A useful tip for the futureIf you want a single command that will create the session if it's new, or attach to it if it already exists, use the -A flag:Bashtmux new -A -s edut710holo This is often more convenient than running new and attach separately.