Search Results

Search: Posts Made By: builderj
970
Posted By builderj
Hi Rudic, This is what I used and it worked...
Hi Rudic,

This is what I used and it worked to find the files.

find . -name abc.xml | grep -i "AB 1.0 DIR"


Then I tried to used sed using -exec option to find and replace . But didn't work...
970
Posted By builderj
Find and Replace from specific folders
Hello Experts,

Any help is appreciated.

I would like to find and replace a string in a specific file ( e.g abc.xml) only for the directories starting with "AB 1.0 DIR".

I've 50 sub...
7,190
Posted By builderj
@jlliagre : That worked perfectly. Thank you so...
@jlliagre : That worked perfectly. Thank you so much.
7,190
Posted By builderj
@ RudiC, As I said , I run the parent script...
@ RudiC, As I said , I run the parent script using sh -xe option for some other purpose and the sleep is just part of the parent script. So i cannot do what Scrutinizer said.

@Sea : Thanks much....
7,190
Posted By builderj
I want to send these message to background or...
I want to send these message to background or stop it from printing on screen. From developers point of view, these should not be visible from the output log.
7,190
Posted By builderj
Hi RudiC, I use the below part inside...
Hi RudiC,

I use the below part inside another shell script (parent script) where the parent script is executed as "sh -ex parent.sh".

until [ -f /tmp/examplefile.txt ]
do
/bin/sleep 3
done...
7,190
Posted By builderj
@rovf : /usr/bin/sleep did not work. Even tried...
@rovf : /usr/bin/sleep did not work. Even tried /bin/sleep.

whereis sleep
sleep: /bin/sleep /usr/share/man/man1p/sleep.1p.gz /usr/share/man/man3p/sleep.3p.gz /usr/share/man/man1/sleep.1.gz...
7,190
Posted By builderj
RedHat 5 and Redhat 6
RedHat 5 and Redhat 6
7,190
Posted By builderj
Send sleep to background
Hello all,

I've a small script where it checks for the existence of a particular file and sleeps for 5 seconds if it doesn't exist. I would like to send the sleep output to background so that I...
Showing results 1 to 9 of 9

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