test Verified for current stable LTS

Test Command: Check Variable Equality String

Use for check variable equality string with Test. Exact CLI syntax to check variable equality string using Test.

When to use this: Use for check variable equality string with Test.

Command Syntax

test "<$MY_VAR>" = "</bin/zsh>"

Command Breakdown

test is the base executable for this command.

FAQ

Purpose: Exact syntax to check variable equality string using Test.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Test directory