MCQs > IT & Programming > Linux > What is the difference the == and =~ comparison operators when used in BASH double square bracket if conditionals?

Linux MCQs

What is the difference the == and =~ comparison operators when used in BASH double square bracket if conditionals?

Answer

Correct Answer: The == operator performs a string comparison; =~ performs a regex comparison.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Linux Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Linux Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it