#!/bin/bash

if [ $# -ne 1 ]
then
echo "Usage: $0 "
exit 0
fi

host=$1

If no hostname is specified output will be:

./1.myscript.bash 
Usage: ./1.myscript.bash