Check if two strings are equal to each other

Tests if two strings are equal and returns an exit code of 0 if so.

Authored by: Sidratul Muntaha
Brought to you by Warp, a free terminal reimagined to work like a modern app.
string_1
string_2

Command
Copy
[[ string_1 = string_2 ]]
Tags