Find some specific file and then once a file is found, I want some specific word in it and then replace it with finding word with a new one. Can I do it with a single line?
For example, I want to find a file 'file.txt' and in that file want to search read
and replace it with write
using a single-line command.