Sponsored Content
Top Forums Shell Programming and Scripting shell script to run commands in different terminals Post 302686885 by Corona688 on Wednesday 15th of August 2012 02:44:44 PM
Old 08-15-2012
What do you mean by terminal? A hardware terminal device, or something like an xterm?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run unix commands in a new shell inside a shell script?

Hi , I am having one situation in which I need to run some simple unix commands after doing "chroot" command in a shell script. Which in turn creates a new shell. So scenario is that - I need to have one shell script which is ran as a part of crontab - in this shell script I need to do a... (2 Replies)
Discussion started by: hkapil
2 Replies

2. Shell Programming and Scripting

how can I write script that lets me run shell commands?

Hello I want to make simple extension to vi , you know how you want to run some shell command you do ":! ls -l " , then you go out the vi the command executed and then you hit enter and you back to vi but now I want to be able to go out of vi and run several command outside of vi .. and in... (3 Replies)
Discussion started by: umen
3 Replies

3. Shell Programming and Scripting

shell script to run a few commands help!

Hi friends this is first post i am very new to shell scripting so i require your expertise to do the following thank u I need to write a shell script which will run the following commands pg_dump bank > backup(Enter) Wait for bash prompt to appear coz it indicates that the command is... (23 Replies)
Discussion started by: perk_bud
23 Replies

4. Shell Programming and Scripting

Run shell commands via HTML webpage/button?

Hey guys, I got a issue here... we have a development box and a UAT box that our webmasters use, they do the webpage development on the development box and and save changed files to a particular directory on the dev machine. At a certain time of the day a cronjob kicks off and the... (3 Replies)
Discussion started by: zeekblack
3 Replies

5. Shell Programming and Scripting

Run a shell script from one host which connext to remote host and run the commands

I want to write a script which would run from one host say A and connect to other remote host B and then run rest of commands in that host. I tried connecting from A host to B with SSH but after connecting to host B it just getting me inside Host B command prompt. Rest of the script is not running... (6 Replies)
Discussion started by: SN2009
6 Replies

6. Shell Programming and Scripting

Help with shell script to run the commands reading options from local file

I have to use shell script to run series of commands on another unix box by connecting through SSH and giving user credentials. For running commands on remote machine I have to use options reading from a local file. Process: Connecting to remote unix server <host1.ibm.com> through ssh Login: ... (2 Replies)
Discussion started by: itsprout
2 Replies

7. Shell Programming and Scripting

Run multiple commands in $() without opening a new shell

The code below works, but takes too many lines and looks awkward: db2 "export to $filename of del select * from $table with ur"|tee -a $LOGFILE|awk '/Number of rows exported:/ {print $5}' > numrows.tmp numrows=$(cat numrows.tmp) rm numrows.tmp When I try the... (2 Replies)
Discussion started by: akar_naveen
2 Replies

8. 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

9. Shell Programming and Scripting

[bash] run a shell who runs commands

Hi all. On X11 I'm on a shell ...shell_1 (/bin/bash). From here I want to open another shell window shell_2 who executes commands like "ls -l" or programs like ". /program"... so the "result" of commands shows in shell_2 window and not in shell_1. Is that possible ? (4 Replies)
Discussion started by: jerold
4 Replies

10. UNIX for Dummies Questions & Answers

Commands to run from shell script

Hi script> isumid 98765432 if i give above command in cmd prompt it is running the same thing if i give inside the shell script it is not working below is the code #!/bin/bash isumid 98765432 please give me a solution (16 Replies)
Discussion started by: Ramrangasamy
16 Replies
DICT_LOOKUP(1)															    DICT_LOOKUP(1)

NAME
dict_lookup - DICT Protocol Client SYNOPSIS
dict_lookuop [options] DESCRIPTION
dict_lookup reads X selection, then open terminal emulator and run dict client in it allowing user to view content using pager. It makes sense to configure launching dict_lookup on a keyboard shortcut in the window manager. OPTIONS
-h display help message. -x x X coordinate of terminal emulator. -x Y Y coordinate of terminal emulator. -s WxH width and height of terminal emulator separated by 'x'. -q query query, if it is specified, X selection is not read. ENVIRONMENT
dict_lookup recognizes the following environment variables. The default value is specified in square brackets. D_AWK_PROG AWK interpreter to use. [awk] D_XCLIP_PROG xclip application. [xclip] D_XTERM_PROG xterm or equivalent terminal emulator. [xterm] D_UTF8_LOCALE UTF-8 locale. [first available UTF-8 locale on system] D_DICT_PROG Dictionary client program. [dict] D_DICT_SERVER Option for dictionary client specifying the server. [-h dict.org] D_DICT_PORT Option for dictionary client specifying the port. [-p 2628] D_DICT_DB_OPT Option for dictionary client specifying the database. [-d foldoc] D_XTERM_CLASS Option for terminal emulator specifying the class. [-class XTerm] D_XTERM_NAME Option for terminal emulator specifying the name. [-name xterm_dict] D_XTERM_TITLE Option for terminal emulator specifying the title. [-title dict_lookup] D_TEXT_WIDTH Program calculating text width for given text. [cyrillic_text_width] cyrillic_text_width doesn't work correctly for Japanese, Korean, Chinese and some other languages. D_TERM_X Terminal emulator X coordinate. [+200] D_TERM_Y Terminal emulator Y coordinate. [+200] D_TERM_H Terminal emulator height. [+40] D_PAGER Pager. [less -R] SEE ALSO
dict(1), less(1), xterm(1), dictd(8), http://www.dict.org, RFC 2229 9 January 2011 DICT_LOOKUP(1)
All times are GMT -4. The time now is 05:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy