Reputation: 47
I have connected to three raspberry pis using ubuntu.I run a shell file in all three consoles using "enter". Because of this it take few seconds delay to run each file. I want to know how to run the shell file in all three consoles at the same time.
Upvotes: 1
Views: 1655
Reputation: 55448
Use tmux
which a "terminal multiplexer" that you can install on your client, e.g. on ubuntu it's apt-get install tmux
It has a feature called "synchronized panes", for you each pane would be a shell opened to one of your raspberry pi devices
When you activate the synchronized panes, the same key inputs will go to all of the panes, the command is :setw synchronize-panes
Upvotes: 1