mirror of
https://github.com/techarkit/shell-scripting-tutorial.git
synced 2025-07-22 18:28:12 +00:00
18 lines
443 B
Bash
18 lines
443 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 #
|