How to tell if a string is not defined in a bash shell script #!/bin/bashif [ -z $1 ]; then echo 'Enter something please.'; exit 1;fi; Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment