Hi All,
I am writing a UNIX shell script for the Database Operations and wanted to take the statistics i.e. How much time my script has taken to complete the operation.
I wanted to apply the logic say: In the beginning of the script I will store the value of current date and time in some variable and then finally I will take the difference of that datetime variable from the current date and time.
I am very new to shell scripting. Can some one help me to put this logic into the shell script code.
Let me know if any new logic will hold good for my requirments.