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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
UA-39217154-2
No comments:
Post a Comment