I've create 3 shells concerning my work, which named as 1.sh, 2.sh and 3.sh.
However, how can I make an interactive query for these shells just like the old (fdisk) in windows9x. I want to make an interface tells the user just like this:
Hi everybody,
Do you know how to hide the text for interactive unix shell script? Just like the case for inputting password during logon.
Patrick (1 Reply)
Hi
I want to get the a field from a SQL query into unix shell script variable. the whole situation is like this.
1. Opened a cursor to a table in DB2 databse.
2. Fetching individual rows with the help of cursor.
3. Each row has 4 fields.
I want each of the field in individual shell... (1 Reply)
Dear all
I want to execute some isql command from unix shell script. Kindly suggest me. isql command mention below.
isql -U -P
use gdb_1
go
select count (*) from table_x
go (3 Replies)
Hi,
I have data in my text file something like this.
adams
robert
ahmed
gibbs
I want to use this data line by line as input to an sql query which i run by connecting to an oracle database from shell.
If you have code for similar scenario , please ehlp.
I want the output of the sql query... (7 Replies)
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (1 Reply)
I want to perform few post-session success tasks like update a status to 'true' in one of the sql database table, update date values to current system date in one of the configuration table in sql. How do i achieve this in a post session command?syntax with example will be helpful. (3 Replies)
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Hi
i want write a script for list of sysbase are having access or open.
then i wrote like:
USER="abc"
PASS="xyz"
SERVER="SCCS"
DB="blue"
WORK_DIR="/usr/home/ramakrishna"
set -x
isql -U${USER} -P${PASS} -S${SERVER}<<EOF>$WORK_DIR/output.log
go
use blue (database name)
go
use... (0 Replies)
Hi All,
O/S: Linux 86x64 Red Hat
I have a sql script that queries top consuming processes of Linux using TOP commnd.
Now I need to automate this task and pass the top processes i.e., PID to the sql script through unix shell script.
Could anyone please let me know how to achieve this.
... (2 Replies)
Discussion started by: a1_win
2 Replies
LEARN ABOUT DEBIAN
xte
XTE(1) General Commands Manual XTE(1)NAME
xte - Generates fake input using the XTest extension
SYNOPSIS
xte [options] commands...
DESCRIPTION
xte is a program that generates fake input using the XTest extension, more reliable than xse.
OPTIONS
A summary of options is included below.
-x display
Send commands to remote X server. Note that some commands may not work correctly unless the display is on the console, e.g. the dis-
play is currently controlled by the keyboard and mouse and not in the background. This seems to be a limitation of the XTest exten-
sion.
--help, -h
Show summary of options.
COMMANDS
key k Press and release key k
keydown k
Press key k down
keyup k
Release key k
str string
Do a bunch of key X events for each char in string
mouseclick i
Click mouse button i
mousemove x y
Move mouse to screen position x, y
mousermove x y
Move mouse relative from current location by x, y
mousedown i
Press mouse button i down
mouseup i
Release mouse button i
sleep x
Sleep x seconds
usleep x
Usleep x microseconds
SOME USEFUL KEYS
This keys are case sensitive.
Home
Left
Up
Right
Down
Page_Up
Page_Down
End
Return
BackSpace
Tab
Escape
Delete
Shift_L
Shift_R
Control_L
Control_R
Meta_L
Meta_R
Alt_L
Alt_R
Multi_key
SEE ALSO pat2ppm(1), patextract(1), png2pat(1), rgb2pat(1), visgrep(1).
AUTHOR
xte was written by Steve Slaven <bpk@hoopajoo.net>.
LIMITATIONS
The str command doesn't support Unicode characters with more than two bytes. Further, character composing sequences to generate special
charactes are limited to Multi_key plus two characters. The set of supported characters depends on the current keyboard layout.
October 18, 2003 XTE(1)