I want to output the routes of ASNs to a file. A command like this for example:
whois -h [url removed, login to view] -- '-i origin AS32934' | grep ^route
I want to be able to run this for any ASN I specify and output all the routes to a file. IP4 routes to 1 file and IP6 routes to another file. They should not be in the same file.
The routes in the file must be in this format:
"-R '[url removed, login to view]' || -R '[url removed, login to view]' || -R '[url removed, login to view]' || -R '[url removed, login to view]' || -R '[url removed, login to view]' || -R '[url removed, login to view]'"
The script must be executable so I can schedule it to run on a CRON job. I must be able to specify the target directory. I will be able to edit the script and specify the ASN and target directory, so no need to build an interface. A Python or Bash script will be sufficient.
10 freelancerów złożyło ofertę na kwotę R2200 do tego projektu
Dear,Sir How are you? I am very interested in your project and ready for starting your project. I have experienced in developing Bash Scripting, Linux, Python, UNIX for 3 years. I will work very hard Thanks
hi, I have lots of experience in Bash & python. Let me know when to start. thanks Relevant Skills and Experience python, bash Proposed Milestones R1000 ZAR - working R750 ZAR - done
I can create a bash script with the required results. Relevant Skills and Experience Linux is my second name. Proposed Milestones R2222 ZAR - Create executable script