GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Let's talk this over..! (https://gfy.com/showthread.php?t=328629)

!oi 07-20-2004 03:05 PM

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.

!oi 07-20-2004 04:21 PM

Any1?

Shortbread 07-20-2004 05:45 PM

of course

my question is first how do the lines look like, and where can you find them


i.e. what makes them special?

kenny 07-20-2004 05:53 PM

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