Test if param is not empty

test if param is not empty bash

Test if $1 has value
[ -n "$1" ] && echo $1 || echo param is empty

View expiration date of DNSSEC signature

  dig SOA yourdomain.com @nameserver +dnssec  

Mais vistos