mirror of
https://github.com/techarkit/shell-scripting-tutorial.git
synced 2025-07-28 07:15:24 +00:00
18 lines
359 B
Bash
18 lines
359 B
Bash
#!/bin/bash
|
|
#Purpose: Set assigns its arguments to the positional parameters
|
|
#Version:1.0
|
|
#website: https://arkit.co.in
|
|
#Created Date: Tue May 22 23:10:17 IST 2018
|
|
#Modified Date:
|
|
#Author: Ankam Ravi Kumar
|
|
# START #
|
|
set `date`
|
|
echo "Today is $1"
|
|
echo "Month is $2"
|
|
echo "Date is $3"
|
|
echo "Time H:M:S $4"
|
|
echo "TimeZone is $5"
|
|
echo "Year is $6"
|
|
set -x
|
|
# END #
|