![]() |
Let's talk this over..!
I need to replace one line with another in every file on my Linux 2.4 server using ssh.
Anyone knows how to do it? Is there any method to do this quick? Thanx. |
Any1?
|
of course
my question is first how do the lines look like, and where can you find them i.e. what makes them special? |
find directory -name '*.*' -exec perl -pi -e 's/line-1/line-2/g' {} \;
|
| All times are GMT -7. The time now is 08:22 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123