How To Write A Unix / Linux Shell Function, Embed With .bashrc To Use It?

Posted by Jiltin     Tags: , , 13 April, 2009    1,882 views    (1) Comment

Unix shell is a powerful utility: As I said already, I have stored my work for the past 12 years in a repository. Google has the Google desktop search which is not supported by many companies including my company (It is not due to competition, but due to privacy as they informed that Google tries to capture the details to their server. In addition, it runs indexing and that is blocked my company security agent. No matter whatever I do, security agent stops the indexing and we used to get Read Full Article (Click here)...

Categories : Scripts Unix Tags : , ,

Here Is A Sample Unix / Linux Script That Checks The Payment Settlement File And Acknowledgement File

Posted by Jiltin     Tags: , , , 13 April, 2009    5,684 views    (2) Comment

I had an opportunity to work with Paymentech integration (oracle iPayment system) with oracle 11i aplications. Paymentech needs a settlement file from the source system, verifies all the transactions, and finally acknowledges back to the source with Acknowledgement Flag=”Y” at the end of each record. Unfortunately, the implementers did not follow the standard oracle practice and the system was not made with $XXCUS/ipayment/in, $XXCUS/ipayment/out and $XXCUS/ipayment/archive Read Full Article (Click here)...

Categories : 11i Scripts, Oracle Applications, Receivables, Scripts Unix Tags : , , ,

Oracle Applications Steps To Register Shell Script As A Concurrent Program

Posted by Jiltin     Tags: , , 13 April, 2009    4,558 views    (1) Comment

There are two methods to handle, one with symbolic link another without symbolic link. step 1: Place the .prog script under the bin directory for your applications top directory. For example, call the script SHELLDEMO.prog and place it under $XXCUS/bin step 2: Make a symbolic link from your script to $FND_TOP/bin/fndcpesr For example, if the script is called SHELLDEMO.prog use this: ln -s $FND_TOP/bin/fndcpesr SHELLDEMO This link should be named the same as your script without the .prog Read Full Article (Click here)...

Categories : 11i Scripts, Oracle Applications, Scripts Oracle, Scripts Unix Tags : , ,

Code snippets – How to remove zero bytes files in Linux / Unix folder?

Posted by Jiltin     Tags: , , 6 April, 2009    1,028 views    (0) Comment

This finds the zero byte files in the current directory find . -type f -size 0 This finds the zero byte files in the specific directory find /home/wordpress -type f -size 0 This finds the zero byte files in the current directory with long description find . -type f -size 0 ‘ xargs ls -ld This finds the zero byte files in the specific directory with long description find /home/wordpress -type f -size 0 ‘ xargs ls -ld This removes the zero bytes file from the current directory find Read Full Article (Click here)...

Categories : Scripts Unix Tags : , ,

How to find files created after timestamp?

Posted by Jiltin     Tags: , , 4 February, 2009    13,997 views    (1) Comment

My unix knowledge is very primitive. I am having difficulty to write shell script using which I can find new created files after some specific date time under specific folder…pls let me know if you know about this. You could try this. The following will give a list of files between 2 dates. use: touch -t [YY]MMDDhhmm filename touch -t 200310290000 stamp1 touch -t 200310310000 stamp2 find /yourdir -type f -newer stamp1 -print > LIST1 find /yourdir -type f -newer stamp2 -print > Read Full Article (Click here)...

Categories : Scripts Unix Tags : , ,