search for string in a file

2001-07-30 Thread alex stan
I need to search for a string in httpd.conf file , ( the string is : CustomLog /var/log/httpd/site.com/access_log ) and then replace inside them site.com with site_com. I mentioned that the site.com can take diferent values, such as shop.com , radioq.

search for string in a file

2001-07-30 Thread alex stan
I need to search for a string in httpd.conf file , ( the string is : CustomLog /var/log/httpd/site.com/access_log ) and then replace inside them site.com with site_com. I mentioned that the site.com can take diferent values, such as shop.com , radioq.

String replace in a file

2001-07-30 Thread alex stan
Could anyone help me? How can i find a string in a file and then replace it with another string? Thanks a lot --- ROL!RO free mail - http://mail.rol.ro Spatiu nelimitat pentru contul tau si acces gratuit prin dial-up! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-