Shell Scripting Question:

How do you do Boolean logic operators in shell scripting?

Answer:

! tests for logical not, -a tests for logical and, and -o tests for logical or.

Read All 30 Shell Scripting Questions
Previous QuestionNext Question
How do you test for file properties in shell scripts?How do you find out the number of arguments passed to the shell script?