Home > linux > Utility to send a command to multiple terminals?

Utility to send a command to multiple terminals?

September 15Hits:0
Advertisement

A while ago when I did a lot more system admining, there was a little utility that would send a command to multiple terminals that I had open. So essentially I could ssh into three different servers, then type tail -f /var/log/some_error.log into the utility and it would pass that command onto all three terminals I had open.

So essentially I typed the command once, and it was run on all three servers. Plus the terminals were fully accessible to me so if I wanted to run commands just on that one server, I would just use the terminal ssh'ed into that one server.

After a ton of searching online, I've yet to find this utility (it was simply available on the machines we had and I can't recall the name of this particular utility). So does anyone know of any utilities that do this?

Thanks

Answers

I believe you are searching for clusterssh. Love it!

The little utility is called ClusTerm.

Related Articles

  • Utility to send a command to multiple terminals?September 15

    A while ago when I did a lot more system admining, there was a little utility that would send a command to multiple terminals that I had open. So essentially I could ssh into three different servers, then type tail -f /var/log/some_error.log into the

  • How to execute a command in multiple Terminals by executing a command in only one?

    How to execute a command in multiple Terminals by executing a command in only one? December 1

    This question already has an answer here: Is there an SSH client which duplicates commands to multiple terminals? 2 answers I am going to have multiple machines that I am going to connect to via SSH so I am going to have multiple Terminal windows up,

  • Proper way to send SSH commands to multiple clients with sudo?February 11

    I have created a very simple shell script to send SSH commands to multiple hosts. Right now I have copied my ssh id so I don't have to use a password to login to the servers. But if I want to do a apt-get update for an example then I have to login as

  • How to send one command to multiple PC's over LAN (linux)January 27

    O/S: Debian Hi, I've got multiple computers in a LAN network that I monitor remotely, they're all running the same hardware and software. To monitor them I simply ssh in to one computer and then ssh off that on to the others. I was wondering if it wa

  • Is there an SSH client which duplicates commands to multiple terminals?

    Is there an SSH client which duplicates commands to multiple terminals?April 23

    I'd like to control several ssh connections from one terminal. For example, I would type ifconfig in the main terminal and all the other ssh connections would run ifconfig. That's what offered PuttyCM on Windows . This may be a very simple question b

  • is there any command like "wall" that runs a "command" in all terminalsJuly 5

    as you know "wall" command sends a message to all terminals: wall message now my question is this: is there any command that can send a "command" to be run in all terminals? for example sending clear command to all terminals , so then

  • is there a linux equivalent of iTerm(mac) sending command to multiple tabs functionality?June 5

    in iTerm, you can send a command to execute simultaneously on a set of already opened tabs. Is there a way to do this in linux (with gnome-terminal preferably)? for instance, supposed that I had 10 tabs already ssh'd into foo@host1.com and sudoed to

  • how to use ssh command to connect to multiple computers and send different commands to each computers at same timeApril 14

    I need to connect multiple computers to run different programs. For different computers, I need to send them different command. How to use ssh command to connect to multiple computers and send different commands to each computers? My command to run p

  • Conemu send command to multiple remote sessionsOctober 12

    I am currently trying to use Conemu with PuTTY to try to easily control some machines. I wanted to send commands to multiple Putty windows at the same time. I tried PuTTYCS but it wouldn't work with the windows already attached to conemu Any suggesti

  • Bash history handling with multiple terminalsNovember 18

    I use mainly Terminator, and it's usually opened with 3 split terminal windows. I also use Gnome terminal for various reasons. I'm wondering how is bash history handled in this case as I sometimes miss previously issued commands when I run history Fo

  • How to send terminal command to a TTY terminalSeptember 29

    I am looking for a way to send an executed command to a TTY terminal. For example, let us say that I open the gnome-terminal and on the window I type sudo aptitude update && sudo aptitude upgrade. How can I send this to a TTY terminal instead of w

  • On a linux server how do you use multiple terminals over a single ssh connection?May 1

    I often find myself opening several ssh connections in order to view several log files at a time with tail -f. This isn't a problem when I'm at home because I use public key encryption for password-less login. However, I will often use computer at my

  • How to create multiple "terminals" for a linux workstation?November 3

    I wanted to figure out how to have multiple terminals (monitor, keyboard, and mouse) use a single centralized system. I guess at this point I can get computers for around $150, and use them as dumb terminals, but I would really like to centralize abo

  • Same command on multiple serversMay 20

    I'm just wondering if there is any fellow sysadmin with the need to execute one command on multiple servers. If so, what technique are you using? I have grown tired to ssh-ing to 3-5 servers and executing the same thing over and over again, so I'm th

  • How do I open multiple terminals?

    How do I open multiple terminals?May 15

    I just downloaded Ubuntu 11.04 and as far as I can remember, there was the option of opening multiple terminals in tabs in Ubuntu. I cannot discover this feature in 11.04. Also, as a general query, suppose I open emacs from the terminal, then I would

  • How do I send a command to a Linux box from a Windows box in a script?June 13

    The problem: I have a backup program (BackupAssist) that can run scripts automatically after a backup. I want to automatically shut down the computer that stores my offsite backups after the backup completes. I have the shutdown part working (with ke

  • Is using a dedicated thread just for sending gpu commands a good idea?July 6

    The most basic game loop is like this : while(1) { update(); draw(); swapbuffers(); } This is very simple but have a problem : some drawing commands can be blocking and cpu will wait while he could do other things (like processing next update() call)

  • How can I send single file to multiple remote sites at the same time?September 15

    can scp be used to send single file to multiple remote servers at the same time? If so what's that? if not, what's the alternative? --------------Solutions------------- I will suggest you write a script that allows you to run scp to each server in th

  • Excel 2010 "sending the command to the program" errorJuly 15

    Multiple domain users receive the following Excel 2010 (32-bit edition) error occasionally when opening random XLS files. There was a problem sending the command to the program http://imgur.com/AU4ZlFC Files are located on a Server 2008 R2 SMB share.

  • Send a command to another server with sshJuly 18

    So basicly I need to send a command from one server to another. ssh root@address.com 'My command' How do I specify the password? --------------Solutions------------- If have two options: just use the command line you already typed, you will be asked

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 1.003 s.