Smqueue

Use and complete the template provided. If you don't, your post may be deleted!

  1. The problem statement, all variables and given/known data:

what these lines of coding are doing?

  1. Relevant commands, code, scripts, algorithms:

[ -z "$SMQUEUE" ] && SMQUEUE="$QUEUE"
[ -z "$SMQUEUE" ] && SMQUEUE=1h

  1. The attempts at a solution (include all code and scripts):

I know that it is doing something like setting the system mail queue to 1 hour? but i do not understand what the -z and rest of it is doing?

  1. School (University) and Course Number:

Bond 131532

The -z is testing to see if the string is empty.

If the test (square braces) fails then the assignment part after && doesn't execute.