Search Results

Search: Posts Made By: Omkumar
6,845
Posted By Omkumar
Script Migration From HP to Linux (KSH)
Hi All,

Currently iam going to migrate some of the ksh scripts from HPUX to LINUX.

Will there be any major change in scripts which I have to take care for migration?

Appreciate some help on...
14,521
Posted By Omkumar
Sending SMS Via Unix Script?
Hi,

Is it possible to send sms to a mobile from unix box using Shell Scripting?

I really wonder if anyone can help me with some information regarding how to setup the environment if possible.
...
3,084
Posted By Omkumar
Good one. It Worked!!!!! Thanks vino -Om
Good one. It Worked!!!!! Thanks vino

-Om
3,338
Posted By Omkumar
Thanks for your script. It helped me a lot...
Thanks for your script. It helped me a lot today.......

Thanks Again.
-Om
3,338
Posted By Omkumar
How to add two large values
Hi,

Gives me wrong value when,

$ echo `expr 2221753117 + 299363384`
-1773850795

How to overcome this?

Appreciate any help on this.

-Om
3,084
Posted By Omkumar
Parsing the data in a file
Hi,

I have file (FILE.tmp) having contents,

FILE.tmp
========
filename=menudata
records=0000000000037
ldbname=pinsys
timestamp=2005/05/14-18:32:33

I want to parse it bring a new file...
3,631
Posted By Omkumar
ls -Rl > a.txt -Om
ls -Rl > a.txt

-Om
15,376
Posted By Omkumar
What about something like... #!/bin/ksh ...
What about something like...

#!/bin/ksh

./a.sh &
pid_a=$!
./b.sh &
pid_b=$!
./c.sh &
pid_c=$!

wait $pid_a
echo "a.sh returned $?"
wait $pid_b
echo "b.sh returned $?"
wait $pid_c...
5,350
Posted By Omkumar
how to diff two files line by line
Hi,

Is there any way to achieve diff of two files line by line.

for eg,

a.txt
a
b
c
d
e

b.txt
f
g
h
i
j
3,144
Posted By Omkumar
This will do, Compare.sh #!/bin/sh #cut...
This will do,

Compare.sh
#!/bin/sh
#cut column 3 from FileA and put it to FileA.tmp
cat FileA | cut -f3 -d";" > FileA.tmp
#cut column 4 from FileB and put it to FileB.tmp
cat FileB | cut -f4...
3,634
Posted By Omkumar
Thanks keith. Let me explain more, my...
Thanks keith.

Let me explain more,

my unix box ip address is 10.xx.xx.55.

SMTP ip address is 10.xx.xx.155 and port is 25.

How to send a mail using the above config.

iam trying with the...
3,634
Posted By Omkumar
Sendmail Configuration - [Urgent]
I had my admin team to configure the SMTP on my HPUX unix box to send mails. Now they have given me a SMTP ip xx.xx.xx.xx and asked my to use this ip in ur code and not hostname for sending mails.
...
2
1,428
Posted By Omkumar
This link may help u ...
This link may help u

http://groups-beta.google.com/group/comp.unix.solaris/browse_thread/thread/34c842d0f8dc164d/0ec6259c90b92e0c?q=telnet+through+a+unix+shell+script&rnum=1#0ec6259c90b92e0c

-Om
1,555
Posted By Omkumar
Check out this thread. ...
Check out this thread.

https://www.unix.com/showthread.php?t=17900


-Om
24,004
Posted By Omkumar
How abt this........ #!/bin/sh ...
How abt this........

#!/bin/sh

FILE="somefile.txt"
COUNT=0

#Storing in a array
while read LINE_FROM_FILE
do
TEXT_LINE[$COUNT]=$LINE_FROM_FILE
COUNT=`expr $COUNT + 1`
done < $FILE
...
5,569
Posted By Omkumar
Vow!!!!, what a script. That worked. Thanks...
Vow!!!!, what a script. That worked.

Thanks again.

-Om
5,569
Posted By Omkumar
Hi Muthukumar, Thanks for your help, but...
Hi Muthukumar,

Thanks for your help, but where is the exit status.

-Om
5,569
Posted By Omkumar
exit status of Invoking two or more scripts in background
I have a sript which is going to trigger other 3 scripts in background simultaneously

for eg:

Main Script:(main.sh)
-----------
sh a.sh &
sh b.sh &
sh c.sh &

How to catch the exit status...
17,886
Posted By Omkumar
$uname -a HP-UX hpprogrs B.11.11 U 9000/800...
$uname -a
HP-UX hpprogrs B.11.11 U 9000/800 388930385

Thanks in advance for your help

-Om
17,886
Posted By Omkumar
Thanks a ton for your scripts. Please help me to...
Thanks a ton for your scripts. Please help me to know the things that shud be configured in unix box, in order to send a mail.

Thnx in advance

-Om
17,886
Posted By Omkumar
Sending Mail Thru Unix Script
What are all the things that should be configured in order to send a mail from Unix box.

An eg. program of sending a mail will help me a lot!!!!!!

Thanks in advance

-Om
9,399
Posted By Omkumar
Coding Standard For Unix Shell Scripting!!!
Is there any site on Coding Standard for Shell Scripting in UNIX.

Please help me know!!!!!

Thanks
Om
Showing results 1 to 22 of 22

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