Skip to content

Instantly share code, notes, and snippets.

@upeter
Created December 4, 2014 14:58
Show Gist options
  • Save upeter/be1a75f9256461802ae8 to your computer and use it in GitHub Desktop.
Save upeter/be1a75f9256461802ae8 to your computer and use it in GitHub Desktop.
if [ $# -eq 0 ]
then
echo -n "Enter amount of cluster nodes: "
read NODES
else
NODES=$1
fi
echo $NODES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment