Search Results

Search: Posts Made By: agrawal.prachi
Forum: Programming 08-08-2010
4,791
Posted By agrawal.prachi
Find out 2^n+1 , where n is a 3 digit number
I have to write a c program which takes a 3 digit number n and calculates the value of (2^n)+1 and then determines the number is prime or not.

I have tried to first calculate the value of 2^n and...
6,765
Posted By agrawal.prachi
passing database password to isql command in shell script
Hi,

I need to connect to DB through my shell script. but I dont want to hardcode my db password in the script. Is there a way to do it?

Thanks

---------- Post updated at 07:42 PM...
7,076
Posted By agrawal.prachi
So Scott, you are saying that if "." is not...
So Scott, you are saying that if "." is not mentioned in my PATH variable then ./MyScript give me the desired results?

else simply executing MyScript will do. Is it?
7,076
Posted By agrawal.prachi
Thank you guys for the prompt response.:) ...
Thank you guys for the prompt response.:)

Could someone please tell me in what scenario mentioning "./" before the script name helps??

eg ./script.ksh
7,076
Posted By agrawal.prachi
hashbang line
Hi All,

I am new to this forum. I would really appreciate if some one from you expert team could answer my qns:

1) whats the difference between the below commands. what events occur in the...
Showing results 1 to 5 of 5

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