Search Results

Search: Posts Made By: amon
6,135
Posted By amon
thanks for nice explanation..:)
thanks for nice explanation..:)
6,135
Posted By amon
anbu can we have some awk code explanation..I am...
anbu can we have some awk code explanation..I am confused..but I like this topic

thanks in advance
8,322
Posted By amon
cool work!!and usefull
cool work!!and usefull
2,912
Posted By amon
U can use some of my code...but U have to have...
U can use some of my code...but U have to have rsh enabled..

sendTo=machineName
remoteDir=/home/path/test
localDir=/home1/script/test


exists=$(rsh ${sendTo} ls ${remoteDir} | grep ...
11,175
Posted By amon
niceeee
hmmm very very nice post...but can someone give explanation on those 2 post one with awk and one with korn shell...

thanks in advance..very usefull..
6,914
Posted By amon
Also..why is that I can not ecxecute just ...
Also..why is that I can not ecxecute just

grep -vf A B but I have to call "other" grep

/usr/xpg4/bin/grep -vf A B


I mean what is diff between them..


cheers
6,914
Posted By amon
thanks again for explanation...:)
thanks again for explanation...:)
6,914
Posted By amon
T h a n k Y o u
thanks for multiple solution..

It worked very well..

I wish I cen get anbu solution explanation...I know basics in awk..but I got confused with arrays..

Thanks in advance..

Cheers..
6,914
Posted By amon
compare 2 files..
Hello..I am trying to find solution for this:

I have 2 files

A and B

A:

1234
2345
3211
1111
5555
6666
7777
8888
9876


B:
32,113
Posted By amon
U can try something like this> ...
U can try something like this>

#!/usr/bin/awk -f

#< AWK - Reverse order of words in each line of a file

{ cnt = NF;
while ( cnt > 0 ) {
printf( "%s ", $cnt );
--cnt;
}
...
58,159
Posted By amon
Guys.. Thanks for this wonderful...
Guys..

Thanks for this wonderful explanation..I think this will be useful post!

Cheers,
58,159
Posted By amon
well..looks lke that is it.. thanks for...
well..looks lke that is it..

thanks for quick info..
58,159
Posted By amon
Rightttt but this is not wanted result.. I...
Rightttt but this is not wanted result..

I tryed also bc I forgot to mention that..

but my $catch is 14 $num is 100

it is defined above in program..


result should be 0,14 also I tryed...
58,159
Posted By amon
arithmetic in ksh
Helloo..

I am trying one very simple thing I could not find anything on google..


I have 2 integer variable..and I need to do division...in ksh
where $catch and $num are integer variable..
...
12,878
Posted By amon
thanks for your reply..I will try to figure it in...
thanks for your reply..I will try to figure it in KSH..I hope there will be someone to help me with more details..

thanks..
12,878
Posted By amon
python code...convert to ksh or sh
Helloo...

I am not much familiar with python..I found this small script in python I even do not have python on my computer...can anyone help me out to convert this into ksh or sh..

PLEASE any...
1,807
Posted By amon
Can anyone find a bug in this code?? shell script
I have done a script and IT WORKS JUST PERFECT from command line...but in cron it has problems executing...


nawk -F"|" '
{ s=substr($104,2,18)}
{b[s] ++s}
END { for (i in b) print...
Forum: Solaris 08-14-2006
9,896
Posted By amon
set enviroment variable..
Hello...

I was wondering can anyone explain me how to set up enviroment variable to be permanent...

I tryed with setenv but my solaris does not have this command...

then I did:

export...
12,363
Posted By amon
Hello... I also have some problem with...
Hello...
I also have some problem with apache...it seems installed on my solaris..

but I can not access web page from other comp..

http://ipaddress...

how to know that I do have my apache...
84,320
Posted By amon
kang tried with lcd command ...it did not...
kang tried with lcd command ...it did not worked...
84,320
Posted By amon
OK I am posting whole script... on UNIX: ...
OK I am posting whole script...

on UNIX:
ftpscript:

#!/bin/ksh
#Usage example: ftpscript readme.txt /pub/dir1/readme.txt
localFile=$1
remoteFile=$2


ftplog=loglog.log
echo "$(date...
84,320
Posted By amon
that script is on UNIX...something like a script...
that script is on UNIX...something like a script knag mention...

and is there a way to change dir.from unix...fo change dir.where unix script transfers files...
84,320
Posted By amon
I created also script to transfer file from UNIX...
I created also script to transfer file from UNIX to WIn.but I had to set up ftp directory in windows(IIS) so I can just put my files in that directory..

I would also love to see is it possible to...
31,786
Posted By amon
I also would like to ask how to execute UNIX...
I also would like to ask how to execute UNIX command thru batch script??

can someone give me a hint how to make batch script that can execute script on unix??

any ideas??
7,181
Posted By amon
also U can write separate script FTP script to...
also U can write separate script FTP script to send back txt output to other machine where PHP is..and than display result simply from txt file or some other file...does not metter..
Showing results 1 to 25 of 71

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