Search Results

Search: Posts Made By: cv_pan
29,831
Posted By cv_pan
Hi Reborg, How can I achieve this using mail...
Hi Reborg,
How can I achieve this using mail utility? Is it available?
3,241
Posted By cv_pan
Sendmail, EOL not effecting
Hello,
I am using the following script to read some log and then contruct my email for notification.

When I run this on my test server, i am getting the output as below,


But when I move to...
2,459
Posted By cv_pan
you can use -x option to get just the result. ...
you can use -x option to get just the result.


db2 => pq5 @ /home/pq5$ db2 -x "select current timestamp from sysibm.sysdummy1 with ur"
2008-10-30-15.19.18.175721


also when getting this...
34,938
Posted By cv_pan
Yes I totally agree. But it is been justified as...
Yes I totally agree. But it is been justified as company standards..
It is funny because, we do use deamon jobs to run some of our scripts.

I wanted to explore if there was any other options.
34,938
Posted By cv_pan
but Program A is totally dedicated to doing...
but Program A is totally dedicated to doing something else.
34,938
Posted By cv_pan
unfortunately, CRON is out of question due to...
unfortunately, CRON is out of question due to security issues. its the company standard. :(

actually the log is not updated quite often, however, the requirement is to get the notification as soon...
34,938
Posted By cv_pan
Can we trigger an shell script on an event
Hi,
My program A updates a log called logA.

I have a shell script S that is responsible to send emails reading from the log.
I want to trigger execution of the script whenever there is an update...
Forum: Solaris 09-25-2008
123,273
Posted By cv_pan
Perfect!!.. This is what I was looking for....
Perfect!!.. This is what I was looking for. Thanks!
27,343
Posted By cv_pan
Grep and display n lines after the match is found.
Hello,
How do I use grep to find a pattern in a list of file and then display 5 lines after the pattern is matched

Eg:
I want to match the string GetPresentCode in all files in a folder and then...
1,864
Posted By cv_pan
for y in `ls DIV*` do sed -e...
for y in `ls DIV*`
do
sed -e 's/C:\\Project\\AML\\bin//g' $y > temp
mv temp $y
done

I had to do this instead as I kept getting the error sayng both $temp & $y are identical.. is...
1,864
Posted By cv_pan
mschwage Thanks a lot!! works as expected :)...
mschwage

Thanks a lot!! works as expected :)

however, could you please elaborate on -e option..

-e Script
"Uses the Script variable as the editing script. If you are using just one -e flag...
1,864
Posted By cv_pan
To find and replace paths consisting \
Hi all,
I am new to unix and wanted to replace the string consisting \ with nothing.

I tried the following but did not help.

for y in `ls DIV*`;
do
sed s/C:\\Project\\AML\\bin//g $y >...
Showing results 1 to 12 of 12

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