Search Results

Search: Posts Made By: sourabhsharma
54,068
Posted By sourabhsharma
Hi ygemici, I am trying to configure it on...
Hi ygemici,

I am trying to configure it on Solaris where I can't locate
relayhost /etc/postfix/main.cf file..
Could you please provide detailed instructions for this ?

Thanks..
54,068
Posted By sourabhsharma
How to relay mail to mail server from Unix ?
Hi,

I need to send email notifications from Unix/Linux box to users using mailx.

In these Unix/Linux boxes mail is not configured however we are having mail server configured in our LAN.
...
11,593
Posted By sourabhsharma
How to enter a password in the script automatically when prompted?
Hi Friends,

We need to create a script which will invoke a command with diffrent parameters.

The command invoked needs the password. So how automatically we can enter password in the script to...
13,713
Posted By sourabhsharma
Worked well thanks...However we had to remove the...
Worked well thanks...However we had to remove the exception block to get it done...Don't know the exact reason behind it..

Neways great work..
15,484
Posted By sourabhsharma
How to capture value in shell variable from oracle sql?
Hi Friends,

Do someone know how to capture value in a shell variable from oracle sql?

Requirement : In a table we want to count the number of records and want to pass this value to a shell...
3,850
Posted By sourabhsharma
Hi Aigles, It is working Perfectly... ...
Hi Aigles,

It is working Perfectly...

@Joeyg,

$(..) already had tried but didn't work...

But don't know why it worked with COUNT=`sed -n '$=' test.txt`.....

Thanks
3,850
Posted By sourabhsharma
Hi Franklin, Thank you for the new concept....
Hi Franklin,

Thank you for the new concept. I will sure use that in future....

However I will still love to know how to assign the values to variable in returned the the form of row from sed as...
3,850
Posted By sourabhsharma
How to assign value to a variable with row(using -n) returned by sed
Hi Friends,

REQUIREMENT: Want to delete files from the current directory match with the same in the file test.txt

set -x
i=1
echo "i=$i"
COUNT=`sed -n '$=' test.txt`
echo "Count=$COUNT"...
8,104
Posted By sourabhsharma
How to scedule a script to be run on every second saturday in Month?
Hello Friends,

In my project I have to schedule a script to be run on every second saturday (once in month). Can you please suggest what entry should I make in cron ?
Showing results 1 to 9 of 9

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