God I hate ksh scripting especially test conditions! I've given up on this one:
if [[ $check -eq 1 && $(`lssec -f /etc/security/limits -s default -a core`)=="default core=0" || $(`lssec -f /etc/security/limits -s default -a core`)=="default core_hard=0" ]]
I've tried a million different ways of putting it and get syntax errors every time. Can someone help me get this one right?
Thanks!