perl -MNet::Ping -lne 'print "$_: ", scalar Net::Ping->new( "icmp" )->ping( $_ )' hosts.txtTCP based ping using port 80:
perl -MNet::Ping -lne '$p = Net::Ping->new; $p->port_number( 80 ); print "$_: ", scalar $p->ping( $_ )' hosts.txt
perl -MNet::Ping -lne 'print "$_: ", scalar Net::Ping->new( "icmp" )->ping( $_ )' hosts.txtTCP based ping using port 80:
perl -MNet::Ping -lne '$p = Net::Ping->new; $p->port_number( 80 ); print "$_: ", scalar $p->ping( $_ )' hosts.txt
iptables
:
ip route add blackhole 10.0.0.1/32To remove the rule:
ip route del blackhole 10.0.0.1/32Compared to
iptables
a null route has no effect on loopback addresses (127.0.0.0/8).
git tag -a v1.0.0 -m 'release 1.0.0'Push tag changes to remote repositories:
git push --tagsRemove a tag:
git tag -d v1.0.0Remove a tag from remote repositories:
git tag -d v1.0.0 git push origin :refs/tags/v1.0.0