Shell Scripting Question:
Download Questions PDF

How do you do number comparison in shell scripts?

Answer:

-eq, -ne, -lt, -le, -gt, -ge

Download Shell Scripting Interview Questions And Answers PDF

Previous QuestionNext Question
What’s the conditional statement in shell scripting?How do you test for file properties in shell scripts?