sed -i.bak -e 's#/Technology##g' -e 's#Technology##g' my_text_file
This is delete the words and also make a backup of the original file just in case
sed -i -e 's#/Technology##g' -e 's#Technology##g' my_text_file
This will not make a backup but just modify the original file
manpreet
Best Answer
2 years ago
My text file contains
100
lines and the text file surely containsTechnology
and/Technology
words .In which ,I want to removeTechnology
and/Technology
words present in the file using shell scripting.