Check if string length is zero
Returns an exit code of 0 if the length of the string is zero.
Authored by: Sidratul Muntahastring
Command
Copy
[[ -n string ]]
Tags
Edit in GitHub
Copied
Returns an exit code of 0 if the length of the string is zero.
Authored by: Sidratul Muntaha[[ -n string ]]