1,817 Topics

Member Avatar for
Member Avatar for insamniac

Is it possible to retrieve text from an application whose widget handles are unknown? I guess this leads to another question, is it possible to get the widget handles of an application if the only information is the obvious stuff (in the window's title bar)? The user needs to fill …

0
64
Member Avatar for microbiologist

Hi im new to all this but need help. i have a program that runs in the terminal of redhat 9 "./signalp -t gram+ etc" and this produces an output file called output.txt i need a script that will run the command line automatically after the last one finishes and …

Member Avatar for jim mcnamara
0
318
Member Avatar for zunacai

Hello, We have about 430 Linux boxes all over our building, and a single box that we use to ssh in the rest of the boxes (when you ssh from this box no password is required because the keys are on this box). Anyways, my boss asked me to change …

Member Avatar for John A
0
51
Member Avatar for budroedotcom

Ok. This has got to be easy, but I can't get something right. I'm just trying to find a way to enter a few characters (example: cd1) and have it change my current directory. In other words, I'm at root and I want to type cd1 and have it be …

Member Avatar for budroedotcom
0
155
Member Avatar for selvam.cit

hi, i am having two files n.sh here i wrote code like clear f() { echo "this is my program to test function" } again i am having one more file n1.sh here i wrote like this ./home/selvam (this is my program directory (ie.. actual n.sh file is in this …

Member Avatar for John A
0
206
Member Avatar for parani

Hi All, I want to know if there is any way to exit from both the parent and child loop simultaneously without adding any kind of conditional statement. ******************************************************** [COLOR=sandybrown][B]#!bin/ksh a=5 if[[ $a -gt 5 ]] then echo "a=5 and not went to else cdn." else if [[ $a==5 ]] …

Member Avatar for jim mcnamara
0
144
Member Avatar for katharnakh

Hello, I trieng to login to a remote machine, but if I login, and ran command [I]who am i[/I] [I]root ttyp0 Jul 31 06:27 (192.168.1.12)[/I] The problem is why it is showing the IP address, which we usually notice in connecting to a machine which is connected locally (LAN). I …

Member Avatar for jim mcnamara
0
94
Member Avatar for Shadowchaser

Hey everyone, I'm a student at a local community college and working on my last project for the summer. I've been working on this script for the last two days and cannot figure out what I'm doing wrong here. Hoping that some of you might be able to figure out …

Member Avatar for jim mcnamara
0
113
Member Avatar for selvam.cit

hi, if any one give me a code for this output if i give input 4 means i want this output * * * * * * * * * * actually i am not familier with for loop in shell script . so that i ask this help to …

Member Avatar for masijade
-1
51
Member Avatar for chrchcol

I have an index.html file that I need to be able to modify depending on if its secure or unsecure, can I use cat and or grep in a script to modify text in it? Chris

Member Avatar for chrchcol
0
299
Member Avatar for chrchcol

I am using for f in $(<uploads); do s=`echo "$PWD/$f"`; to output the path for each file in a text file. It works great However I need the relative path to start with a specified directory. In other words the top of the script will have a few questions two …

0
99
Member Avatar for blackeyed

My script is giving above mentioned error .... is there any workaround [CODE] #!/bin/sh #################################################################### # Createion Date: 21-Jul-2006 # Modification Date: # Version: 1.0 #################################################################### ############################################################## # Check the parameter ############################################################## if [ "${#}" -lt 5 -o "${#}" -gt 5 ] then echo "Usage for this script is : …

Member Avatar for blackeyed
0
229
Member Avatar for natasha_sr

Hello I have a couple of interlaced images taken from a video stream and I want to do deinterlasing. Unfortunately I don’t have the video. Someone told me that there is a command in Unix that can do this. I would be grateful if you could help me. Thanks,

Member Avatar for jim mcnamara
0
48
Member Avatar for kevin_m

Hi all, I'm trying to "echo" some informations in a while loop, in ksh script. I want to quit, if the user enter some key... Can anyone help me accomplish this task? Thanks

Member Avatar for jim mcnamara
0
104
Member Avatar for Stud33

Hi, I will try to brief as I know some of you will probably see what im trying to do.. What I am trying to do is have the IP address of the machine compare its IP to the IP that is on the server. I am trying to get …

Member Avatar for Stud33
0
75
Member Avatar for lconvoy

Is there any way to view or access javascript portions of a web page from the linux shell? For example, I use curl to pull a web page that has text and javascript. The javascript portion does not show up, just the filename as it is in the source.

Member Avatar for jim mcnamara
0
90
Member Avatar for nihao

Hello all: I want to compare two folders by script like this "diff -yr folder1 folder2",but I find there are two problems in the result which is not what I want,please help me. Problem One: If there are two line is different,and every line is too long, the result will …

Member Avatar for jim mcnamara
0
142
Member Avatar for nileshdalvi

Is this valid in shell programming? tr 'a-z' 'A-Z' < filename>filename note: The filename refers to the same file.

Member Avatar for jim mcnamara
0
59
Member Avatar for rags

I am working as a java programmer and have no experience writing shell scripts or prior experience in UNIX...I would appreciate if someone helps me write a Shell script that: a) Runs from one machine. b) ssh into all of the other machines. c) Collect the cpu% usage from each …

Member Avatar for jim mcnamara
0
379
Member Avatar for alvaro

Hello, I'm trying to write a bash shell script to run some finalization commands on cygwin under Windows XP. I'd like to exit the shell in an automatic way (writing the 'exit' command in the script) but it doesn't work. Do anybody knows a way to do that?

Member Avatar for alvaro
0
92
Member Avatar for girish.sh

Can we define exit status intereger values for our purpose except 0? like can i set custom exit status messages: "1" for error occured because of reason #1 "2" for error occured because of reason #2 ... Is there any document which displays all the exit status code values from …

Member Avatar for masijade
0
130
Member Avatar for girish.sh

Hi all, I am a new joinee in this forum. I am facing one problem. How to call Java classes and methods from shell scripts?? i am using KSH. Is it really possible to do that or not? Response will be appreciated. Thanks, Girish Sharma

Member Avatar for masijade
0
289
Member Avatar for Mushy-pea

Hello everyone:p . Does anyone know what kind of bash script line I could use to copy the contents of a file to the boot sector of a FAT12 3.5" floppy disk? Any help would be appriciated. Thanks. Steven :cool: .

Member Avatar for jim mcnamara
0
63
Member Avatar for vanii

Hi all, I want to know whether "sleep command in shell scripting is a guarenteed command or not " In java 'Sleep() ' is not guarenteed to be called when CPU is Idle. Regards, VANII

Member Avatar for jim mcnamara
0
343
Member Avatar for swmercenary

I have been charged with fixing a ksh93 script which runs on AIX and LINUX. It currently uses getopt to parse command line options, and relies on syntax like: case $1 in -g) FOO =$2 if ($3 == "bar") then BAR= $4 fi etc. Unfortunately, if it is called with …

Member Avatar for jim mcnamara
0
217
Member Avatar for mcrosby

Hello, I am writing a script that is going to ping a remote host but I want the user to be able to enter in the interval and size when he runs the program. For example the user would enter this to initialize the script. [quote] ./mping -i 0.05 -s …

Member Avatar for kamitsin
0
153
Member Avatar for mcrosby

Hello, I am new to shell scripting but I am attempting to create a script that connects to an ftp and downloads a folder of files. It then compares the downloaded folder on the local machine to another local folder. I am not sure how to work the compare function …

Member Avatar for mcrosby
0
144
Member Avatar for hferoz

I am presently working in IBM INDIA, we are currently working in DB2 database i want to know the nook and corner of the database so pls send pdf document for this and do the needfull for u.

0
70
Member Avatar for massoo

hi, can i run a shell script as a daemon ? the shell script looks like this : [INLINECODE] #!/bin/sh BATDIR='/' export JAVA_HOME='/usr/java/jdk1.5.0_06/bin/java' export MESSAGE_SENDER_HOME='/home/mas50o21/MessageReader/' export LIB='/lib/' export COMMONS='/commons/' export JBOSS_HOME='/home/jboss/jboss-4.0.3SP1/' export CLASSPATH=$CLASSPATH:${JBOSS_HOME}client/jboss-common-client.jar: \ ${JBOSS_HOME}client/namespace.jar:${JBOSS_HOME}client/jboss-system-client.jar: \ ${JBOSS_HOME}client/getopt.jar:${JBOSS_HOME}client/log4j.jar: \ ${JBOSS_HOME}client/activation.jar:${JBOSS_HOME}client/jboss-jaxrpc.jar: \ ${JBOSS_HOME}client/mail.jar:${JBOSS_HOME}client/jboss-saaj.jar: \ ${JBOSS_HOME}client/jboss-j2ee.jar:${JBOSS_HOME}client/jboss-transaction-client.jar: \ ${JBOSS_HOME}client/jmx-invoker-adapator-client.jar:${JBOSS_HOME}client/concurrent.jar: \ ${JBOSS_HOME}client/jboss-deployment.jar:${JBOSS_HOME}client/jbossx-client.jar: \ ${JBOSS_HOME}client/jbossmq-client.jar: \ …

Member Avatar for radix
0
246
Member Avatar for seran128

I am monitoring a logfile using tail -f [URL="http://www.linuxforums.org/forum/#"]file[/URL].log|"ERROR" I would like to write a korn script that monitors this for me and emails me if the event happens. It would be great if it attached the file to the email as well. Any Ideas?

Member Avatar for masijade
0
103

The End.