Task failed - replace a string using sed

Hi
I Tried this command and replaced successfully.
sudo su -
sed ‘s!/About!Echo-Location!’ nautilus.xml

I don’t know where i made mistake.

Task Status - Failed

all occurences of ‘About’ have not changed to ‘Echo-Location’ in the file /root/nautilus.xml on stbkp01

@harikrishnan

The above command will not save the changes in the file permanently, you should have used sed with -i option.

1 Like