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

SNMP Oracle Linux

  sudo yum install net-snmp net-snmp-utils -y    nano /etc/snmp/snmpd.conf  agentAddress  udp:10.20.1.2:161 rocommunity public systemctl res...

Mais vistos