Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash check parameter is set

if [ -z "$1" ]; then
    echo "no paramater given"
else
	echo paramater is "$1"
fi
 
PREVIOUS NEXT
Tagged: #bash #check #parameter #set
ADD COMMENT
Topic
Name
6+1 =