Search Results

Search: Posts Made By: iamcool
4,675
Posted By iamcool
with some change that logic worked.. thanks
with some change that logic worked..
thanks
4,675
Posted By iamcool
Well i am not quite clear what u meant- -...
Well i am not quite clear what u meant-

- The java prg does a series of things like db updates etc..
- It is deployed on unix server.
- From the server i run a script that calls the main class...
4,675
Posted By iamcool
urgent -read exit status
i have written a shell script that invokes main class of a java prg. the java prg does a System.exit(0) or (1) based on condition. how can i read or check the status in unix....
1,464
Posted By iamcool
it is performing a set of commands... how...
it is performing a set of commands...

how can i display time within Expect script.. i tried date, time, timestamp.. nothing worked
4,390
Posted By iamcool
you call the expect.exp script within your main...
you call the expect.exp script within your main shell script. this expect script conists a set of commands that need to be performed like -
spawn a shell
login to FTP
put the file
logout

......
1,464
Posted By iamcool
FTP file (Need help - urgent )
i am trying to login to FTP site and move the files. when i run the script on my local machine it completes the task in seconds but when it is run by the actual server it take 10 min to login to...
4,390
Posted By iamcool
display TIME - help
i an trying to display current time in the expect script. it works fine in normal shell script but does not in expect. can anybody help me with the synatx to display it.
14,678
Posted By iamcool
check exit status - Expect Script
from my main script, i am calling an expect script. there are a lot of conditions in the Expect script and it can have any exit value based on success or failure of the Expect Script. how can i check...
3,378
Posted By iamcool
help !!
is it EOF or EOJ.. i tried doing it and its not working !! i cannot find an example for it ..
3,378
Posted By iamcool
i am trying to ftp files from one server to...
i am trying to ftp files from one server to other. i have prepared all files on server1 and I have to provide site name, user id and password in the script to FTP files to another server.
3,378
Posted By iamcool
configuration file
i am trying to use a configuration file to FTP some files.. i am not sure how to call or use a configuration file in script.
can anybody help
8,570
Posted By iamcool
egrep and cut
i want to cut some value from the result of egrep. can i pass the result of egrep to cut without passing it to a file like -

chkname=`cut -f1 egrep -i "Y" company.txt`
echo chkname
2,688
Posted By iamcool
list1="comp1 comp2 comp3" list2="comp4 comp5...
list1="comp1 comp2 comp3"
list2="comp4 comp5 comp6"

there is a directory called mainFiles which should have 2 files for each of the company names in list and list2.
check if each company has 4...
2,688
Posted By iamcool
is there a way that we can loop through 2 list at...
is there a way that we can loop through 2 list at the same time like-
for name in $list1 and $list2
2,688
Posted By iamcool
:o my bad i mean to say in the sample code that...
:o my bad
i mean to say in the sample code that u sent is -
company - name of the asci file
yesno - variable ?
2,688
Posted By iamcool
i amn ot quite what is the naming convention mean...
i amn ot quite what is the naming convention mean in ur script example ..
2,688
Posted By iamcool
script help
i am new to scripts... i am trying to read an Ascii or .txt file which has data like
company1 y
company2 y
company3 n

i have to create 2 list of company's, one for 'y' and other for 'n'....
Showing results 1 to 17 of 17

 
All times are GMT -4. The time now is 07:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy