To replace string in multiple files in Linux, use the following command:
sed -i 's/old-word/new-word/g' *.txt
To find string occurences in multiple files:
# grep -R 'string' /path/or/mask/
handy solutions from Linux geek
To replace string in multiple files in Linux, use the following command:
sed -i 's/old-word/new-word/g' *.txt
To find string occurences in multiple files:
# grep -R 'string' /path/or/mask/
access android apache apt browser cache centos config connection convert cpanel cron debian dns eclipse encoding error find firefox font http iceweasel jabber java javascript kde kernel key laptop Linux locale mysql network package PHP plugin repository server service ssl string tomcat ubuntu update-alternatives whm
©2007-2012 The Alexxoid Blog
Disclaimer: All data and information provided on this site is for informational purposes only.
Be The First To Comment
Related Post
Please Leave Your Comments Below