Sponsored Content
Top Forums UNIX for Advanced & Expert Users one command for all unix terminals Post 302072893 by jim mcnamara on Monday 8th of May 2006 04:11:30 PM
Old 05-08-2006
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

try man remsh
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

App for internet access on unix terminals

I am trying to find out what I should install to provide internet access and browsing possibilities on multiple unix terminals. Can anybody help? TNXS (5 Replies)
Discussion started by: Jigger
5 Replies

2. UNIX for Dummies Questions & Answers

Regarding UNIX dumb terminals

Respected members of the Forum, This is my first post. I have a few questions regarding dumb terminals and VT100 dumb terminal emulators. I have to connect a few dumb terminals to an IRIX server There are two options 1) Use Dumb terminals directly 2) Use a Terminal emulator like... (1 Reply)
Discussion started by: Ummeed11
1 Replies

3. UNIX for Dummies Questions & Answers

Making X terminals out of a PC

Well I was trying to configure an Old PC having Win 3.1 to speak X with my UNIX server . I looked at notes , Looks like Debian Linux gives a base tarball to help boot of a floppy and talk to the XDMCP server . Well I was just hoping if there are other open source tools out there which would... (1 Reply)
Discussion started by: DPAI
1 Replies

4. UNIX for Advanced & Expert Users

Multiple Terminals

Dear Members, I have aquired a load of old Wyse dumb terminals. I have a Linux system set up that I want to be the host for all of these. Now, I know these don't use cat5 or standard networking. They are all done through serial (com) ports. However, I researched this more and found a converter... (25 Replies)
Discussion started by: Phobos
25 Replies

5. UNIX for Dummies Questions & Answers

view all others terminals

i'm responsible for maintenance at my place and would like to watch all terminals in front me.i log myself into one terminal, but would like to view copy of other's terminals visible to me, it is just like for audit/security watch. (2 Replies)
Discussion started by: vkandati
2 Replies

6. UNIX for Dummies Questions & Answers

what is the command to connect to remote terminals

what is the command to connect to remote terminals? (1 Reply)
Discussion started by: sendtorohitgupt
1 Replies

7. UNIX for Advanced & Expert Users

The "PS" command was displaying*terminals named as "SYSCON"

Hi, When typing the command ps -fe.the system is showing a process called SYSCON:confused:.... I am not sure what process is that.I hava a script that kills all command staring with 'sys' but i don't want to kill syscon:( since i think it is some system process:confused: .Please help me to find... (1 Reply)
Discussion started by: kiranjose85
1 Replies

8. Hardware

How to make terminals with a PC(UNIX/LInux) support?

I want to build a network, in this network there is only one PC and 50 terminals, 50 students can use this system to study UNIX/Linux. In the old days, computer was very expensive, many scientists shared a computer with terminals, that means a terminal has no cpu, memory and hardisk. In... (5 Replies)
Discussion started by: haixiao_liu
5 Replies

9. UNIX Desktop Questions & Answers

non-overlapping terminals

Hi Everyone! I was wondering if there's an easy way to have terminals (gnome-terminal for instance) be open in such a way that they're not overlapping each other? I suppose I could play around with the --geometry option but that would imply me checking whether a terminal is already at a given... (3 Replies)
Discussion started by: anthalamus
3 Replies

10. Shell Programming and Scripting

How 2 run same command across all open terminals

Hi folks. This has been bothering me for a while. Among the 8 virtual desktops I'm using, I have 18 terminals open right now. I change some of my user configuration (e.g. put a new alias into ~/.bashrc); but in order to use this new added alias, I have to source the config file: .... (4 Replies)
Discussion started by: mirni
4 Replies
gnome-terminal(1)						   User Commands						 gnome-terminal(1)

NAME
gnome-terminal - terminal emulator for GNOME SYNOPSIS
gnome-terminal [--window-with-profile=profilename] [--tab-with-profile=profilename] [--command command] [--execute command] [--role=role] [--show-menubar | --hide-menubar] [--use-factory | --disable-factory] [--title=title] [--working-directory=dirname] [gnome-std-options] DESCRIPTION
gnome-terminal is the GNOME terminal emulation program. It provides access to the UNIX shell on the GNOME environment. gnome-terminal sup- ports multiple profiles to allow easy switching between preferences, and supports tabbing so that multiple terminals can be managed from a single window. By default, all GNOME terminals share a single process, reducing memory usage. This can be disabled by starting gnome-ter- minal with the --disable-factory option. OPTIONS
The following options are supported: --command commanExecutes the command command instead of the shell. This saves some memory if you just plan to run a dedicated application on that window. You can also use -e to specify this option. --execute commanThis option is provided for compatibility reasons. It is the same as the --command option. You can also use -x to specify this option. --disable-factorDo not register with the activation name server, and do not reuse an already running GNOME terminal process. --hide-menubar Hide the menubar. This applies only to one window. When used with multiple --window-with-profile options, it applies to the --window-with-profile option immediately to the left. Can be specified multiple times, once for each --window-with-profile option. --role=role The GNOME session manager follows the ICCCM convention of using the window title and the window role to identify specific windows. The session manager uses this information to put windows back in the same place when the user restarts their ses- sion. If all windows have a unique title, there is no need to set the role. However, as it is common for multiple GNOME terminals to have the same title, the user can also specify the role on the command line with the --role option. This helps the session manager to properly identify and restart each GNOME terminal (in the same location, and so on). When used with multiple --window-with-profile options, it applies to the --window-with-profile option immediately to the left. Can be specified multiple times, once for each --window-with-profile option. --show-menubar Show the menubar. This applies only to one window. When used with multiple --window-with-profile options, it applies to the --window-with-profile option immediately to the left. Can be specified multiple times, once for each --window-with-profile option. --tab-with-profiCreatesilanatab that uses the specified profile. This argument may be specified multiple times to create multiple tabs in a terminal. If this is used with multiple --window-with-profile options, the tab is created for the window that corresponds to the --window-with-profile option immediately to the left. --title=title Set the title for the GNOME terminal to be title. --use-factory Register with the activation name server, and reuse an already running GNOME terminal process. --window-with-prCreatesroaiGNOMEeterminal and a tab that uses the specified profile. This may be used with the --tab-with-profile option to create additional tabs. Multiple --window-with-profile options can be specified to create multiple GNOME terminal windows. All options specified after an --window-with-profile option apply to that --window-with-profile option only. --working-directSet=thenworking directory for the GNOME terminal to be dirname. gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information. EXTENDED DESCRIPTION
gnome-terminal is designed to emulate the xterm program provided by the X Consortium. The xterm(1) program in turn is an almost-complete emulation of the DEC VT102 terminal. gnome-terminal supports the same extensions to the VT102 as those provided by the xterm program, through special escape sequences. The xterm program is an evolving program. Recent changes to xterm have been been incorporated into gnome- terminal. This includes emulation of the newer DEC VT220 escape sequences. EXAMPLES
Example 1: Running the `minicom' terminal emulator on the window example% gnome-terminal --command minicom Example 2: Monitoring the system example% gnome-terminal --command top Example 3: Starting two windows with different profiles example% gnome-terminal --window-with-profile=FirstProfile --tab-with-profile=SecondProfile --window-with-profile=SecondProfile In this example, the first window will have two tabs (FirstProfile and SecondProfile) and the second window will have one tab (SecondPro- file). ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables, set by gnome-terminal: TERM This variable is set to xterm by default. Some implementations of curses, and applications based on curses, may prefer the value to be xterm-color, color-xterm, or xterm-debian to support color. Users might need to change this setting to one of these values to enable color for such applications. COLORTERM This variable is set to xterm. Various applications (especially the Slang-based applications) use this setting to determine whether the terminal supports color. WINDOWID This variable contains the X11 Window identifier. This is sometimes used by applications to modify the contents of this window or provide special effects. EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-terminal Executable for GNOME terminal emulator ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-terminal | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
gnome-session(1), xterm(1), vte(1), libvte(3), gnome-std-options(5) Latest version of the GNOME Desktop User Guide for your platform. NOTES
Written by Michael Zucchi, Miguel de Icaza, Erik Troan. Updated by Brian Cameron, Sun Microsystems Inc., 2003, 2004. SunOS 5.10 31 Aug 2004 gnome-terminal(1)
All times are GMT -4. The time now is 03:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy