1. Engineering
  2. Computer Science
  3. 9 10 how would you make a program or script...

Question: 9 10 how would you make a program or script...

Question details

9. [10] How would you make a program or script execute on a schedule or set interval? E.g. Run this program once every 30 minutes or every day at midnight. 10. [40] Write a shell script that only prints the even numbered lines of each file in the current directory, except for the script itself. The output should be filename: line for each even numbered line. You do not need to print line numbers. [10] Bonus: write the script in a way that it works no matter the filename given to the script.

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution