Shell Scripting Question:
Download Questions PDF

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.

Download Shell Scripting Interview Questions And Answers PDF

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?