st20000428 Harith
st20000428 Harith

Reputation: 47

How to run multiple terminal consoles at the same time?

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

Answers (1)

bakkal
bakkal

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

http://tmux.github.io/

Upvotes: 1

Related Questions