paperlined.org
apps > tmux
document updated 11 years ago, on Jul 19, 2012

Commands to display current settings, not commands that change any settings

Show the current session

tmux display-message -p '#S'

Show the TTY of each client that is connected to the current session

tmux list-clients -F '#{client_tty}' -t "$(tmux display-message -p '#S')"