11-12-2008
Okay. I am hoping, some one could explin in this forums...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear All
I have file a.sql, let's say the content is:
_________________________________
select * from dual;
exit;
_________________________________
and I have shell script a.sh, the content is:
_________________________________
ORACLE_SID=testing; export ORACLE_SID... (0 Replies)
Discussion started by: Aditya Purwanto
0 Replies
2. Shell Programming and Scripting
How to stop the Prstat using shell script ?
because after i run the below script the thing seems to be always in loop and cannot get out till i ctrl + c, is there anything that i can add in the script to make it terminate ?
<code>
#!/bin/sh
prstat -Tc -u testing > testing.txt
</code>
... (19 Replies)
Discussion started by: filthymonk
19 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am writing a bash shell script. How can I tell it to stop. For example, I would like to have something similar to the following:
mike=1
if ; then
STOP THE SCRIPT
fi (3 Replies)
Discussion started by: msb65
3 Replies
4. Shell Programming and Scripting
Hi
I have a script, which i ran in background, can someone please help in stopping this.
i gave this command:
ksh abc.ksh &
this script sends me a mail every 30 seconds. i have deleted the script but still i am getting the mails. can some one please help me stopping dese.
... (3 Replies)
Discussion started by: Prateek007
3 Replies
5. Shell Programming and Scripting
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies
6. Shell Programming and Scripting
Hi, I have googled for quite some time and couldn't able to get what exactly I am looking for.. My query is "how to stop a shell script which is running inside a remote server, using a script"??? can any one give some suggestions to sort this out. (1 Reply)
Discussion started by: mannepalli
1 Replies
7. Shell Programming and Scripting
Hi All,
I would like to develop a shell script for stop & start an application server (1-4) on Solaris box. Here are the user requirements for this task.
1. User will input the option which server they wish to stop.
2. Will clear cache files from specific location.
3. ... (1 Reply)
Discussion started by: venga
1 Replies
8. Shell Programming and Scripting
Hi guys, I've found two nifty little scripts on these forums one which detects if the F5 key has been pressed:
#/bin/sh
_key()
{
local kp
ESC=$'\e'
_KEY=
read -d '' -sn1 _KEY
case $_KEY in
"$ESC")
while read -d '' -sn1 -t1 kp
do
_KEY=$_KEY$kp
... (0 Replies)
Discussion started by: rich@ardz
0 Replies
9. Shell Programming and Scripting
Hi,
I am running a schedular script which will check for a specific time and do the job. I wanted to run this continuously. Meaning even after the if condition is true and it executes the job, it should start running again non stop.
I am using below script
#!/bin/sh
start:
while true
do... (10 Replies)
Discussion started by: sandeepcm
10 Replies
10. Shell Programming and Scripting
Hi folks,
I am running a shell script it asks for username and password to stop some service, I need to write some script that it will read username and password from my shell script and then sucessfully stop services without prompting username/password query. (13 Replies)
Discussion started by: learnbash
13 Replies
LEARN ABOUT DEBIAN
xdemineur
XDEMINEUR(6x) XDEMINEUR(6x)
NAME
xdemineur - X11 minesweeper game
SYNOPSIS
xdemineur [-v] [-display displayname] [-geometry geom] [-m mines]
DESCRIPTION
Xdemineur is a minesweeper game for the X Window System.
The object of this game is to find the location of the mines hidden in the minefield and to mark their location by placing a warning flag.
You have exactly as many flags as there are mines. The number of flags that remain to be placed is displayed in the top left corner of the
window and a timer is displayed in the top right corner.
The game is played using a three buttons mouse, as usual with the X Window System. The left button (button 1) is used to uncover the
square on which you click (hoping that a mine is not hidden there). The number displayed in an uncovered square indicates how many mines
are located around this square (for example, a 3 means that there are three mines within the 8 surrounding squares). The whole game relies
on the right use of these numbers. The right button (button 3) is used to place a flag on a square (this indicates that there is a mine
here). If you click again with the right button on a square that has a flag, the flag is changed into a question mark: this is useful if
you are trying to guess the possible location of some mine, you can use question marks to think about it. One more click with the right
button and the question mark disappears. Clicking with the middle button (button 2) on an uncovered square which has all its flags placed
around uncovers the surrounding cells which have no flags (this will save a lot of time).
Finally, to start a new game, just click on the yellow face above the minefield.
OPTIONS
-v Print out version number and copyright notice then exit.
-display displayname
This option specifies the name of the X server to use. See X(1).
-geometry geom
This option specifies the initial size and location of the window. See X(1). The size is expressed in number of columns times num-
ber of rows. The default is 30x16. The minimum number of columns is 12.
-m mines
This option specifies the number of mines in the minefield. If there are more mines than squares in the minefield, the default
mine number is used.
BUGS
Please report any bug you could find in xdemineur to <babafou@babafou.eu.org>. Also, you should tell me the customizations you may have
done, such as adding new functions to the game or making modifications to allow the game to run on your system.
COPYRIGHT
Copyright (C) 1993-1999 Marc Baudoin <babafou@babafou.eu.org>
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro-
vided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup-
porting documentation. The author makes no representations about the suitability of this software for any purpose. It is provided "as is"
without express or implied warranty.
AUTHOR
Marc Baudoin <babafou@babafou.eu.org>
XDEMINEUR(6x)