Linux komut satırından bul ve değiştir
by solomon on Jun.05, 2010, under Uncategorized
Kolay, şöyle ki:
sed -i ’s/[orginal_text]/[new_text]/g’ filename.txt
ya da
grep -R –files-with-matches ‘OLDSTRING’ . | sort | uniq | xargs perl -pi~ -e ’s/OLDSTRING/NEWSTRING/’