Search exams, classes and guides
Search...
English
Sign in
Sign in
Home
Practice
Discover
Performance
More
CompTIA Linux+ XK0-006
Automation, Orchestration, and Scripting
Card 15 of 113
15 / 113
Which test operator checks whether integer $a is strictly greater than integer $b in [ ]?
Front
Which test operator checks whether integer $a is strictly greater than integer $b in [ ]?
Back
-gt is the operator, as in [ "$a" -gt "$b" ]. Symbols like > in single brackets compare strings or act as redirection, not numbers.
Show the back
Press the card to see the back
Study this deck