Top Ad unit 728 × 90


Few of the time, we need to alter some particular text in multiple files, and opening editing each file at a time is killer. Here is sweet simple command that uses "Power of `PERL`" to make our life easier.

Command :-

perl -pi -w -e 's/xyzblog/faduhack/g;' /home/notes/*.txt
What basically above command does is, It will find word `xyzblog` in each "text/notepad" file under directory "/home/notes" and will replace that with `faduhack`.

Hello Friends,

=> I'm Rahul Rankawat 

 New on Fadu Hack and this is my first post on Fadu Hack. I hope you like it.
" HACK IT BABY!!! " this is my blog for more details click on the above image.

Post a Comment