@swaroopcs88, correct - that should, hopefully, tell you what you need. I’ve been dropping hints, as opposed to actual solutions, since I don’t recall the exact forum policy with respect to that. However, I’d imagine that KodeKloud doesn’t want us posting test solutions in the forums.
Given the tests that you’ve already completed to reach this exercise, you should have already written or edited files that are only writeable by root…
Thank you for your feedback and reporting these issues. We have modified this task a little and marked it as Pending for you guys. Please give it an another try.
Thanks @Inderpreet. The new task description is much better (changing “to” to “with”, in "all occurrences of ‘and’ to ‘for’, would be a slight improvement) but it looks like the task validation logic is incorrect…
Please note that you were supposed to delete the entire line containing the word copyright but you only deleted the word itself, hence your answer was marked as failed.
Please notice the spaces before and after copyright (sed ‘/ copyright /d’) in your command that made it not to match the pattern hence changes were not made correctly.
ssh clint@stbkp01
sudo su -
ls -al( to check if Nautilus.xml file is present in root)
cat /root/nautilus.xml (to view how many instances of old String value are there)
sed -i ‘s/String/Submarine/g’ /root/nautilus.xml
cat /root/nautilus.xml (all instances are changed to new string )