Search Results

Search: Posts Made By: sendhilmani
1,614
Posted By sendhilmani
Hi, Thank you. It works
Hi,

Thank you. It works
1,614
Posted By sendhilmani
Hi, Is there any command to display time in...
Hi,

Is there any command to display time in seconds.

Thanks in advance
1,614
Posted By sendhilmani
Regarding time
Hi,

How can I print the time in seconds(only). I have get the execution time of a script. Now I want the duration in seconds. How can I do it?

Thanks in advance
3,497
Posted By sendhilmani
Regarding functions
Hi,

I have a function or script like this.

show()
{
echo "Hi"
} | tee -a log
show

This creates a logfile and prints Hi in it. Now when I try to do the same for sql like this:

show()...
7,717
Posted By sendhilmani
Exactly. Just now I changed it and now its...
Exactly. Just now I changed it and now its working fine. Thanks a lot.
7,717
Posted By sendhilmani
Yeah, you are right. Actually I made a mistake...
Yeah,
you are right. Actually I made a mistake while pasting it here. But I just want to know where am I going wrong as the file doesnt get created.
7,717
Posted By sendhilmani
This is the script: DEFINE_ENV_VAR() { ...
This is the script:


DEFINE_ENV_VAR()
{
. /usr/dacscan/bin/DSCANenv
LOG=/dacscan/words/shdsl_mrp_verify_eqpt
DEFINE_ENV_VAR()
{
. /usr/dacscan/bin/DSCANenv...
7,717
Posted By sendhilmani
The thing is that Its not creating the file if...
The thing is that Its not creating the file if the file doesnt exist.
2,004
Posted By sendhilmani
OK. I'm sorry
OK. I'm sorry
2,004
Posted By sendhilmani
Explanation of running this script
I have a script that has defined a log file like this.

The name of the script is verify.sh
Inside the script there is some thing like this.
LOG=/usr/verify
TDATE=`date "+%m%d%y"$$`...
7,717
Posted By sendhilmani
Hi. Thanks. I got it. But I have a script...
Hi.

Thanks. I got it. But I have a script that has defined a log file like this.

The name of the script is verify.sh
Inside the script there is some thing like this.
LOG=/usr/verify...
7,717
Posted By sendhilmani
Creating a file inside a script
Hi,

How can I create a file inside a script. The thing is that, I have to create the file inside the script and it will be acting as a log file the script.Whenever I execute the script the file...
Showing results 1 to 12 of 12

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