Files
shell-scripting-tutorial/countargs.sh
Ankam Ravi Kumar 5093a4bb41 Create countargs.sh
Counting given positional parameters.
2018-05-17 22:57:24 +05:30

16 lines
337 B
Bash

#!/bin/bash
#Purpose: Counting given postional parameters.
#Version:1.0
#Created Date: Mon May 7 21:55:05 IST 2018
#Modified Date:
#Author: Ankam Ravi Kumar
# START #
#echo "Your current given parameters are $#"
if [ $# -lt 1 ];then
echo "Program Usage is './scriptname.sh' options"
else
echo "Program executed successfully"
fi
# END #