Search Results

Search: Posts Made By: vic_mnnit
11,189
Posted By vic_mnnit
Thanks Rubin for your response. I've somehow...
Thanks Rubin for your response.
I've somehow arrived at a solution that is working for my requirement.

this is
sed "s/IPaddress .*/IPaddress $IP/g" my.cam>>my.cam.tmp && mv my.cam.tmp my.cam
...
11,189
Posted By vic_mnnit
thanks rubin for your support. but somehow its...
thanks rubin for your support.
but somehow its not working. its happenning to delete all the content of the other file where i want to put the value.
& in fact, if i can make myself clear, i want...
11,189
Posted By vic_mnnit
Thanks for your help. can u give me its logic plz?
Thanks for your help. can u give me its logic plz?
11,189
Posted By vic_mnnit
shell script to search a string and delete the content
Hi,
I've a shell script e.g.

#!/bin/bash
echo "Enter the next hop id"
read nhid
echo "enter the IP address"
read IP
echo "enter the interface name"
read name
echo "enter the enable/disable...
1,719
Posted By vic_mnnit
thanks a lot.........
thanks a lot.........
1,719
Posted By vic_mnnit
Hi, thanks a tonn........ its working. can...
Hi,
thanks a tonn........
its working.
can u suggest me the logic of this?
as i've a big program to do which have many such replacements.

and also,in some situations, i need to search some...
1,719
Posted By vic_mnnit
thanks for the assistance...... i'll try this...
thanks for the assistance......
i'll try this out....
1,719
Posted By vic_mnnit
shell script
Hi.....
i'm new to shell .
i want to write a script from where i need to search a particular string in another file(with .cam extension) & then replace some words(say ip address) to this.
e.g.
if...
Showing results 1 to 8 of 8

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