Jeevan Rex Blog
Wednesday, July 8, 2020
Find and Replace in Terminal
To Find and Replace in Terminal use this
for first occurrence:
sed -i 's/FIND/REPLACE/' <file_name>
for global occurrence:
sed -i 's/FIND/REPLACE/g' <file_name>
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment