Search Results

Search: Posts Made By: ravi_rn
Forum: Solaris 11-13-2011
1,340
Posted By ravi_rn
Route Addition Issue
Hi,

I wanted to add route on the solaris 10 box as shown below.

route add -net 172.16.10.0 172.16.10.11

where 172.16.10.11 is the ip address of the solaris machine.

If I execute the above...
2,816
Posted By ravi_rn
Append the data to first column
Hi,

The below is the content of the file.

008.03.50.21|ID4|0015a3f01cf3
008.04.20.16|ID3|0015a3f02337
008.04.20.17|ID4_1xVoice|00131180d80e
008.04.20.03|ID3_1xVoice|0015a3694125...
2,462
Posted By ravi_rn
The word ravi and avi30 doesnt have any boundries...
The word ravi and avi30 doesnt have any boundries
the two words are completely different
2,462
Posted By ravi_rn
sed pattern matching
Hi,

I have a file which contains a word like ravi and ravi30.
i want to replace only the word ravi with xxx for that i am using the below sed command

sed -e 's/ravi/xxx/g' .

but the above...
5,997
Posted By ravi_rn
Actually my problem is, i have a data like below ...
Actually my problem is, i have a data like below
<impl name="Nortel" is-enabled="true">
<package-mappings>
<const-mapping target-state="EndPoint"
...
5,997
Posted By ravi_rn
How to Append the specific data to the xml file
I have an xml file data as shown below:

<impl name="Nortel" is-enabled="true">
<package-mappings>
<const-mapping target-state="EndPoint"
...
2,668
Posted By ravi_rn
Hi, I am using Sun OS and SH thank you...
Hi,

I am using Sun OS and SH

thank you very much
with regards
Ravi R N
2,668
Posted By ravi_rn
Hi, I am writing in shell scripting language.
Hi,

I am writing in shell scripting language.
2,668
Posted By ravi_rn
Hi, I didnt get the meaning. Worked fine on...
Hi,

I didnt get the meaning. Worked fine on my CentOS as a bash script.
please can you explain me

thank you very much
with regards
Ravi R N
2,668
Posted By ravi_rn
Hi, I removed that extra braces. but i got...
Hi,

I removed that extra braces. but i got same the problem
2,668
Posted By ravi_rn
For loop problem
Hi,

I am using for loop in scripting as follows
for (( i = 0; i <= 20000; i++ ))
{
istEnabled=true
}

but i am getting the below error syntax error at line 2: `(' unexpected
1,986
Posted By ravi_rn
If I use grep -o. it is showing the below message...
If I use grep -o. it is showing the below message

grep: illegal option -- o
Usage: grep -hblcnsviw pattern file . . .
1,986
Posted By ravi_rn
Regular Expression
Hi,

I have the following file as shown below:

Replace()
{
sed -e "s+ABCDIR+$DDIR/C+g" \
-e "s+ABCDIR+$DDIR/C+g" \
...
2,114
Posted By ravi_rn
Thank you very much for the help. but i didnt...
Thank you very much for the help.
but i didnt get the meaning of echo "16^2" | bc
if you can explain briefly it will be of great help.

Thank you
ravi
2,114
Posted By ravi_rn
Airthmatic Expression
Hi,

I want to calculate in terms of power.
for example = 16 pow 2 =256
i don't know what function to use in unix to calculate power.

Please help me.


ravi
4,678
Posted By ravi_rn
Reading Of Array Element in Unix
Hi,

I am using the following command to initialize and array

# arr[i]=ffffff00
# echo $arr
ffffff00
my requirement is i want to fetch the one by one character from array.
I don't know how...
2,676
Posted By ravi_rn
now i got it. Thank you very much for your...
now i got it.

Thank you very much
for your help
2,676
Posted By ravi_rn
It has solved the problem. I didn't get the...
It has solved the problem.
I didn't get the meaning of the below code
count[$1]++==1
if you can explain it will be of great help.
genius
Thank you very much
2,676
Posted By ravi_rn
Print Only second Duplicate entry in the file
I have file where it contains 2 columns. In two columns the first column is repeated more than once. I wanted to take the unique record in first column
and the corresponding second column value .
...
2,862
Posted By ravi_rn
Removal of Duplicate Entries from the file
I have a file which consists of 1000 entries. Out of 1000 entries i have 500 Duplicate Entires. I want to remove the first Duplicate Entry (i,e entire Line) in the File.

The example of the File is...
Showing results 1 to 20 of 20

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