Search Results

Search: Posts Made By: smarlaku
5,057
Posted By smarlaku
Hi All, Please help with the following....
Hi All,

Please help with the following. From the following:



oats1oob 12651 12598 5 Aug21 ? 03:28:48 /apps/ts1oob/product/fmw11gR1/jrockit-jdk1.6.0_37/bin/java -jrockit -Xms768m...
8,464
Posted By smarlaku
To add a new line with specific text after the pattern is found using sed
hi guys,

im trying to add the following line in my xml file

<dbrollbacksegs <oa_var="s_db_rollback_segs">NOROLLBACK</dbrollbacksegs>


when ever i find the following line

<dbsharedpool...
2,735
Posted By smarlaku
it worked, but there is one more requirement,
thanks gowtham


sed -i "s/s_virtual_hostname\">lnxdb-pts-[0-9]*/&-vip/" <filename>so, from the above command, i Understood that you are searching this particular line in the file using sed

...
8,936
Posted By smarlaku
simple grep would solve your question
/users/oracle> cat a.txt
12431,123334,55353,546646,14342234,4646,35234
123123,3535,123434,132535,1234134,13535,123534
123213,545465,23434,45646,2342345,4656,31243...
2,735
Posted By smarlaku
To change Specific Lines in An XML file
hi Guys,

this is my requirement, there is a huge xml file of this i have to change 3 lines with out opening the file
/users/oracle > cat lnxdb-pts-454.xml|egrep...
Showing results 1 to 5 of 5

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