walo
Verified User
- Joined
 - Mar 19, 2005
 
- Messages
 - 154
 
i need to make a line script than can remove a specific line from the httpd.conf file
I get this, but it doesn't work
	
	
	
		
Which i need to remove is a line like this one:
	
	
	
		
				
			I get this, but it doesn't work
		Code:
	
	perl -ni -e 'unless (m//usr/local/directadmin/data/users/myuser/httpd.conf$/) { print }' /etc/httpd/conf/httpd.conf 2>&1
	
		Code:
	
	Include /usr/local/directadmin/data/users/myuser/httpd.conf