Mercurial > hg > anonet-resdb
comparison scripts/as_script @ 946:4242340b6e54 draft
scripts: Added scripts to search for desired ASNs and subnets
author | sevil <sevil@sevilnatas.ano> |
---|---|
date | Sun, 04 Mar 2012 10:07:21 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
922:15fdec941b3c | 946:4242340b6e54 |
---|---|
1 #!/bin/sh | |
2 # READ ME: | |
3 # If AS# is taken it will return the desired AS# | |
4 # else it will not return the desired AS# | |
5 echo -e "Enter path to resdb:\c" | |
6 read resdb | |
7 cd $resdb | |
8 echo -e "Enter desired AS#:\c" | |
9 read asn | |
10 ls db/as/ | grep "^$asn\$" | |
11 |