User login

scripting

Check to ensure at least one parameter passed in to bash script

bash script check for existence of any argument

if [ $# -ne 1 ]
then
echo "USAGE: scriptname arg1 arg2"
return
fi

Syndicate content