shell tips

1037阅读 0评论2012-01-20 wenyiyun11
分类:LINUX

  3 #Arguments:
  4 #$1 --> Name of the folder to create the social_stream project
  5 EXPECTED_ARGS=1
  6 
  7 if [ $# -ne $EXPECTED_ARGS ]
  8 then
  9   echo "Usage: `basename $0` path/to/your/application"
 10   exit 1
 11 fi

上一篇:没有了
下一篇:vim tips