Smqueue

 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions Smqueue
# 1  
Old 09-23-2009
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?


2. Relevant commands, code, scripts, algorithms:

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

3. 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?

4. School (University) and Course Number:

Bond 131532
# 2  
Old 09-23-2009
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.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question