Check if string length is zero

Returns an exit code of 0 if the length of the string is zero.

Authored by: Sidratul Muntaha
string

Command
Copy
[[ -n string ]]
Tags