tmux new -s session_name -dTo create a new session w/o attaching it.tmux new -s session_name -n window_nameTo create a new session and name the first window.send-keys -t session_name:window_index.pane_index 'cmd' C-m- This command allows us to execute a command in tmux
session_name, inpand_indexunderwindow_index. C-mis carriage returnENTER- For example,
send-keys -t dev:1.2 'cd ~/Documents' C-mwould change the directory to~/Documentsindevsession in pane index2under window index1
- This command allows us to execute a command in tmux