Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash command check 2 arguments

if [ $# -lt 2 ]; then
    # TODO: print usage
    exit 1
fi
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #command #check #arguments
ADD COMMENT
Topic
Name
1+1 =