Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

-z option in shell script

#Checks if the size of the argument checked again is zero.

if [ -z ${VAR} ] ; then 
 echo "Variable is empty"
fi
Comment

PREVIOUS NEXT
Code Example
Shell :: pull from base repository 
Shell :: ssh keep connection 
Shell :: invert 
Shell :: how to configure a drive as hotspare linux 
Shell :: cashier paddle installation 
Shell :: error: home_manuelschneid3r_Arch: key "" is unknown 
Shell :: uninstall zabbix java gateway 
Shell :: linux monitor ttyusb0 
Shell :: httpie complex request 
Shell :: save terminal history to file 
Shell :: How to open multiple windows on vi 
Shell :: laravel log file is out of git 
Shell :: docker gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation 
Shell :: bash read -r option 
Shell :: Installing YouTube-DL on WSL2 Arch Linux 
Shell :: Check for command’s result 
Shell :: vmd script 
Shell :: Sync two local directories in a Linux machine 
Shell :: powershell auto clicker script 
Shell :: printf 
Shell :: git show hidden commits 
Shell :: change github 
Shell :: firebase npm install "Enter authorization code" 
Shell :: change date and time in kali linux 2021 
Shell :: create a new remote branch based on local 
Shell :: copy files from another branch git 
Shell :: log cpu usage of process linux 
Shell :: install playit to ubuntu 
Shell :: add platform toolchain to linux 
Shell :: check if server has alreday AD 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =