Question: I need the script to have this #!/bin/bash read -p Enter the date: mydate month= day= year= dayofweek= echo the date of the revolution
I need the script to have this
#!/bin/bash
read -p "Enter the date: " mydate
month=
day=
year=
dayofweek=
echo "the date of the revolution was $month $day, $year it was a great $dayofweek."
INPUT on CML
ubuntu:~$ ./myscript.sh
Enter the date: 2026/08/04
OUTPUT
the date of the revolution was August 04, 2026 it was a great Tuesday
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
