The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Sed problem
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 01-04-2009
figaro figaro is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 268
Thanks that worked. I currently have this:
Code:
sed -i '' -e 's/#ServerName www.example.com:80/ServerName localhost:80/' /usr/local/etc/apache22/httpd.conf