I have a file where I there are some 1500 lines and in there I want to change some values. For that I am using sed like below:
cat /home/test.css | grep "network.type” | sed –i ‘s/0/1/’
Now the problem is it changes the lines in file but how to make it permanent and if I use sed with -i option then I have to provide the file name with it but I am using grep to grep the line.
Any clue please.