-2

Can someone give me a command that convert all occurrences of the word “OLD” in some file with the word “NEW” in Linux?

Thanks in advance

lucian
  • 33
  • 1

1 Answers1

1
sed 's/OLD/NEW/g' <file >newfile
Tom Zych
  • 933