Bash Script Skeleton

#!/bin/sh
#
# .......... comment ............
#
NOW=$(date +"%Y-%m-%d-%H-%M-%S")
#
#
if [[ ! ("$#" == 1) ]]; then
  echo "One argument required."
  exit 1
fi
#
exit 0
#

Sleep a random amount of time between 0 and 10 minutes

sleep $((RANDOM%600))

Table of Contents
QR Code
QR Code tech:linux:bash_script_skeleton (generated for current page)