Question: Using Fedora or other LInux-based OS: Create a looping shell script to do the following: Count backwards from 97 to 46 with increments of 3

Using Fedora or other LInux-based OS:

Create a looping shell script to do the following:

  1. Count backwards from 97 to 46 with increments of 3
  2. Count each loop
  3. Keep a separate count of the total and display them at the end.
    1. 97 + 94 = 191
    2. 191 + 91 = 282
    3. 282 + 88
  4. At the end of the program print out:
    1. Number of total times program went thru the loop
    2. Total of all numbers added up in 3.
  5. Print out the todays date
  6. Print out your username (using the variable $username).

Thank you!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!