判断shell 参数个数是否符合要求的 模板
#!/bin/bash if [ $# -lt 0 ] ; then echo "usage : $0 database_name.table_name" exit -1 fi