Differences between revisions 1 and 2
Revision 1 as of 2019-06-12 12:19:06
Size: 138
Editor: Sciuro
Comment:
Revision 2 as of 2019-11-05 12:58:03
Size: 250
Editor: Sciuro
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

== Scan PTR records ==
{{{
for i in `seq 1 254`; do host 192.168.1.$i 192.168.1.1; done |grep pointer
}}}

Shell examples

Sort IP adresses

sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4

https://www.madboa.com/geek/sort-addr/

Scan PTR records

for i in `seq 1 254`; do host 192.168.1.$i 192.168.1.1; done |grep pointer

Howto/Shell (last edited 2020-03-07 11:05:16 by Sciuro)