Evaluate a format without changing the UI.
Section: Listing and formats
Print a format string
bash
bash
tmux display-message -p "#{client_termname} #{session_name} #{pane_id}"Explanation
Great for shell scripts that need a few tmux facts.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Listing and formats
List windows with a custom format
Print a compact machine-friendly window summary.
Build a session in the background
Create a detached session before laying out windows.