Print specific line with awk


print first line with awk
ping -c 1 8.8.8.8 | awk 'NR==1'

print last line with awk
ping -c 1 8.8.8.8 | awk 'END { print }'

View expiration date of DNSSEC signature

  dig SOA yourdomain.com @nameserver +dnssec  

Mais vistos