cara menghapus kata dari file dalam 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