Which command is used to replace word ‘cat’ (already present in the file) with ‘mouse’ at all places in a file ‘old.txt’ and save the result in a new file ‘new.txt’?
Which command is used to replace word ‘cat’ (already present in the file) with ‘mouse’ at all places in a file ‘old.txt’ and save the result in a new file ‘new.txt’? Correct Answer sed ‘s/cat/mouce/g’ old.txt > new.txt
মোঃ আরিফুল ইসলাম
Feb 20, 2025