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

Checking Root Account Status

  Checking Local Root Account Status Run sudo passwd -S root : Look for the status letter in the output. An L means the account is locked (...

Mais vistos