![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| what is the command to connect to remote terminals | sendtorohitgupt | UNIX for Dummies Questions & Answers | 1 | 05-10-2005 11:08 AM |
| view all others terminals | vkandati | UNIX for Dummies Questions & Answers | 2 | 03-08-2005 03:27 PM |
| Pseudo Terminals | S.P.Prasad | High Level Programming | 2 | 01-06-2003 09:11 PM |
| Regarding UNIX dumb terminals | Ummeed11 | UNIX for Dummies Questions & Answers | 1 | 01-15-2002 06:17 PM |
| App for internet access on unix terminals | Jigger | UNIX for Dummies Questions & Answers | 5 | 02-21-2001 05:49 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
one command for all unix terminals
Hi, I am working in huge environment, I do type commands from my terminal window repeadly in all same setup unix environments. I am looking some kind of a terminal emulator or some simple program that will help me?
basically if type command like 'ls' in one unix terminal window it should echo the same command in all open unix terminal windows. if I hit 'enter' in one terminal window it execute same 'enter' command in all unix terminals show me the list of files in all unix terminals. I hope you guys understand my point. thanks |
| Forum Sponsor | ||
|
|
|
|||
|
I'm not sure.... it sounds like you want a "master" terminal that you enter commands into, then a lot of "slave" terminals that receive the command all at once from the master. The slaves will each be connected to different unix boxes.
I don't know how to do that, I have seen one terminal that executed one command using remsh against several different remote boxes. Kind of like this Code:
echo "Enter command \c"
read command
for i in host1 host2 host3
do
remsh "$i" "$command"
done
|
|
|||
|
thanks for your advise. unfortunatly in our environment doesn't support remsh we use ssh & ssh2 protocals.
That is why after I login group of terminals execute one command for all terminal s that i logon. I think some kind of windows terminal emulators help me. |
|
|||
|
The solution that I use is a Java program 'ClusterSSH'. You can open up multiple sessions and use a single window to type commands to all of them.
If you search on Google it's not too hard to find. |