Question: Write a script called loops.sh that loops through a number of times equal to the number of the month plus the number of minutes of
Write a script called loops.sh that loops through a number of times equal to the number of the month plus the number of minutes of the current date/time and prints which iteration was executed and how many are remaining. For example, if the month is January and the time is 2:35pm, the loop will execute 1+35=36 times. The first line of output would be as follows: Iteration 1 out of 36. 35 iterations remaining.
in Linux
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
