|
alex
6 posts
|
I want to share a some of my favorite tools I have used over the years that are not in the armory. 1) whatmask This has saved my life again and again. The simplest and best subnet calculator I have ever found. Rename it to wm and put it in your PATH... 2) XMing A nice little X-Server for windows. No need to pay for Exceed! 3) arping Useful tool in lab environments. You can arp for an IP address to see if it is available before giving it to your server. Most OS's provide this in a pre-compiled package. Edit: I just realised arping is already in the armory. 4) Snippy The best screenshot tool I know of. Lightweight and no bloat whatsoever. Very easy to clip parts of the screen and email to colleagues. (Windows only) Please share more tools :) |
|
alex
6 posts
|
Here is a small script that converts the ugly ifconfig output on solaris into a neatly aligned table, converting netmasks from hex to decimal format. Just paste into the CLI.
ifconfig -a | perl -ne '
if (/^lo0/ || /^\s+inet\s+127\.0\.0\.1/) {}
elsif (/^([a-z]+[0-9]+.*):/) {$interface = $1;}
elsif (/inet\s+(\S+)\s+netmask\s+(\S{2})(\S{2})(\S{2})(\S{2})\s+/) {
($address, @mask) = ($1, $2, $3, $4, $5);
$mask = join(".", map(hex, @mask));
printf("%-10s %-14s %-16s\n", $interface, $address, $mask);
}
' |
|
stretch
258 posts
![]() |
Thanks for sharing; please consider submitting these to the armory. |
|
root
4 posts
![]() |
whatmask, that's cool and it's in the FreeBSD ports! |
Viewing 1 - 4 of 4
- 1


