attach session tmux code example Example 1: tmux new session tmux new -s session_name Example 2: tmux new session with command tmux new -s [session_name]