john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Parameter check

linux-script-paramter-check (maybe use case instead?)

!/bin/bash

if [ $# -ne 1 ] then echo "Usage: $0 \"/Shared/SPACENAME\" " else

/home/ubuntu/Oxygen.latest/bin/oxygencmd --download -n $1 -r 1

fi


  • « Vmware esxi import files from windows ssh scp
  • Tomcat eclipse java war »

Published

Jan 20, 2011

Category

linux

~22 words

Tags

  • check 3
  • parameter 6
  • scripts 63