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 16 of 113
16 / 113
Which Bash test operator matches a string against an extended regular expression inside [[ ]]?
Front
Which Bash test operator matches a string against an extended regular expression inside [[ ]]?
Back
The =~ operator, as in [[ $foo =~ regex ]]. It returns exit status 0 on a match and 1 otherwise, and it stores capture groups in the BASH_REMATCH array.
Show the back
Press the card to see the back
Study this deck