Skip to content

How to attach to an existing tmux session?

Advertisements

To get the list of existing tmux session use tmux ls command.

> tmux ls
0: 1 windows (created Wed Dec 16 16:45:19 2020)

Here there is one session that already exists. To attach to this particular session ‘0’ we can use the following command.

> tmux attach-session -t 0

This will open the existing tmux session.

See also  unable to create listener: Error listen tcp4 0.0.0.0:443: bind: permission denied - Fix in Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.