Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Ipfilter through Sed scripting
Name: aliabbas Date: November 10, 2004 at 08:22:08 Pacific OS: Windows XP CPU/Ram: 1.4 GHz P4/512 DDR
Comment:
Ipfilters block IPs through a ipf.conf, I want to delete enteries from ipf.conf through script.I tried shell scripting and then sed scripting
sed '/\<ip_add\>/d' /etc/opt/ipf/ipf.conf
although the command shows the output without the ip_add that is specified however it does not edit the file. Is there any possible way to do this through scripting so that I dont have to open file again and again
Summary: I wrote a bash script to clean up duplicate directoris and garbage from PATH variable and set a new path into $newpath. However, even if I embbeded the following codes into my script, I still can't up...
Summary: Well, I have a fairly complicated sed script which performs necessary reformatting of the file(s) prior to delivery to other parts of the system. We have tried implementing this using awk and PL/SQL (...
Summary: Look in the /etc/rc3.d directory of the client. The script there are numbered so as they run in order. (e.g. s96.., s97...,s98...) After they run they delete themselves. I think that one of these scri...