Forrest logo
back to the tmux tool

tmux:tldr:ff3e9

tmux: List existing sessions.
$ tmux ls
try on your machine

The command "tmux ls" is used to list all the currently running sessions in the tmux terminal multiplexer.

Tmux is a terminal multiplexer that allows you to have multiple sessions and windows within a single terminal window. Each session can have multiple windows (tabs), and each window can have multiple panes (splits).

When you run "tmux ls", it will display a list of all active tmux sessions with their corresponding session IDs and names. The session ID is a unique identifier assigned to each session, while the session name is a user-defined name given to identify the session.

This command is useful when you have multiple tmux sessions running, and you want to see what sessions are currently active before attaching or switching to a particular session.

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 tmux tool