Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

search and replace tools in linux

What are the best search and replace tools in linux?

I want to find an easy way.

Thanks

like image 517
zjm1126 Avatar asked Feb 25 '23 22:02

zjm1126


1 Answers

You can use rpl.

It will replace strings with new strings in multiple text files. It can work recursively over directories and supports limiting the search to specific file suffixes.

rpl [-iwRspfdtx [-q|-v]] <old_str> <new_str> <target_file(s)> 
like image 125
keheliya Avatar answered Feb 27 '23 12:02

keheliya