mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

isup (152B)


      1 #!/bin/bash
      2 
      3 # ping $1 through isup.me
      4 
      5 curl -s "isup.me/$1" | grep 'class="domain"' |
      6   rev | cut -d '>' -f1 | rev |
      7   sed 's/ *\([^ ][^.]*\)\./\1/g'
      8