Horje
shell cehck if string is null Code Example
shell cehck if string is null
my_var="nixCraft"
if [ -z "$my_var" ]
then
      echo "\$my_var is NULL"
else
      echo "\$my_var is NOT NULL"
fi

// https://www.cyberciti.biz/faq/bash-shell-find-out-if-a-variable-has-null-value-or-not/




Shell

Related
linux Code Example linux Code Example
1password cli install Code Example 1password cli install Code Example
can i game on linux Code Example can i game on linux Code Example
restart command windows server 2008 Code Example restart command windows server 2008 Code Example
terminals for ubuntu 20.04 Code Example terminals for ubuntu 20.04 Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9