DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 27th October 2018
mateusrico mateusrico is offline
New User
 
Join Date: May 2008
Posts: 5
Default Help with script

Hello friends
I need help, I have three files with thousands of subnets, sometimes I need to unlock an ip that is connected to some or some subnets.
I need a script that typing the IP look for these three files showing the subnets attached to that IP, removing the subnet automatically remove the block for the IP. the method I use currently allows me to find in which file the subnet is, but finding the subnet is not so easy.
I use linux ubuntu and the files are in "ipset" format, the script can be in bash, perl, python, etc ...
Thanks for the help.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Learning to script... RJPugh Programming 7 9th November 2014 08:04 PM
Script: how translate for i in `seq $1 $2`? aleunix OpenBSD General 5 12th March 2012 07:38 PM
Handy X11 script Gabe_G23 Guides 6 25th October 2008 05:08 PM
my 1st sh script graudeejs Programming 12 18th August 2008 10:25 PM
Perl Script c0mrade Programming 1 26th June 2008 05:04 AM


All times are GMT. The time now is 04:17 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick