标签:echo art one false add print action top res
RETVAL=0echo{10..1}
echo{1..10}
case "$1" in
start)
oper add
RETVAL=$?
;;
stop)
oper del
RETVAL=$?
;;
restart)
oper del
sleep 2
oper add
RETVAL=$?
;;
*)
printf "USAGE:$0 {start|stop|restart}\n"
esac
exit $RETVAL
标签:echo art one false add print action top res
原文地址:http://blog.51cto.com/546136/2069254