Jak usunąć słowo z pliku w Bash

sed -i 's/word-to-find//g' input.file.path

#note: if you are word-to-find is a variable, put it in single quotations > ex : 's/'$var'//g'
Abdelrahman Osama