Reputation: 35680
What are the best search and replace tools in linux?
I want to find an easy way.
Thanks
Upvotes: 4
Views: 2150
Reputation: 3790
find
for finding files/directories
grep
or ack
[1] for searching files
sed
for search/replace in files
awk
and cut
for slicing/dicing text
for anything non-trivial I usually reach for perl
[1] http://betterthangrep.com/
Upvotes: 3