Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5251

Networking and servers • Re: one pi to rule them all....

$
0
0
I sometimes use xfce4-terminal (yes, it will pull in some xfce4 dependencies), which can start commands in multiple tabs from the command line

Code:

xfce4-terminal --window --command='ssh pi@simon' --tab --command='ssh pi@river' --tab --command='ssh pi@kaylee'   etc...
The --window means open a new xfce4-terminal window instead of using an existing one (if there is one).
Each --tab means to open a new tab for the next command
Each --command='command' means to run this command in the last tab/windows opened.

I use this for administration on my systems when I have one command (in ~/bin) that opens a window with 20 tabs, each with ssh to a different system.

You can have it open multiple windows on the one command as well.

Statistics: Posted by rpdom — Sat Nov 09, 2024 8:35 am



Viewing all articles
Browse latest Browse all 5251

Trending Articles