sed -i 's/old_word/new_word/g' *.txt

# or...

sed 's/old_word/new_word/g' input.txt > output.txt

# or...

replace old_word new_word < input.txt > output.txt

# or...

grep -rl 'windows' ./ | xargs sed -i 's/windows/linux/g'