I have been asked to Replace all occurrences of the string ‘Text’ to ‘Architecture’ on the XML file /root/nautilus.xml.
Can anyone please tell me what is wrong with the below command?
sed -i ‘s/Text/Architecture/gI’ nautilus.xml (I was already inside /root directory)
The extra option I used was ‘I’ to match all cases of word ‘Text’. Is there anything wrong in this?