Script to create specified Tmux Panes

Viewed 39

I want to create a script where number of panes (upto 16 panes) should be taken as input and create that many panes in a tmux session. Before I was hard-coding, using series of split-window cmds, however, now we want the script to be more generic. how can we achieve this?

1 Answers
Related