'tmux new -s $sessionName'
to create a new Tmux session
window with a session name of your choice.'Ctrl-B-"'
to create a horizontal split, putting one
pane over the other.'Ctrl-B-%'
to create a vertical split, putting one pane
next to the other.'Ctrl-B-UpArrow'
or 'Ctrl-B-DownArrow'
to
move to the pane you want to split if you split the window with a
horizontal line.'Ctrl-B-LeftArrow'
or 'Ctrl-B-RightArrow'
to move to the pane you want to split if you split the window with a
vertical line.'dd if=$diskImageName of=/dev/da0 bs=1M status=progress'
to
begin imaging USB thumb drive #1.'dd if=$diskImageName of=/dev/da1 bs=1M status=progress'
to
begin imaging USB thumb drive #2.'dd if=$diskImageName of=/dev/da2 bs=1M status=progress'
to
begin imaging USB thumb drive #3.'dd if=$diskImageName of=/dev/da3 bs=1M status=progress'
to
begin imaging USB thumb drive #4.'Ctrl-B-:'
to call the Tmux command prompt, followed by
'setw synchronize-panes'
to sync the 4 panes to your
commands. The primary pane will be highlighted in red, and the secondary
panes will copy whatever command it typed into that primary pane.If you need to de-synchronize your Tmux panes, just type
'Ctrl-:'
to call the Tmux command prompt, followed by
'setw synchronize-panes'
to toggle pane synchronization on
and off (or you can use the up arrow at the Tmux command prompt to bring
up that previously-typed command).
The faster your USB ports and USB thumb drives, the better!
Claudio describes his process for mass USB flash drive duplication with FreeBSD, tmux, and dd.
Today on the #HackerPublicRadio #Community #Podcast
Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.
The HPR Website Design is released to the Public Domain.