[SOLVED] Linux Assignment 3 -Hungry for Data

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Assignment3-wmmic2.zip (286.8 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

 

“Hungry for Data” Project Brief

Task 1

 

hungry.sh

In this task you are asked to create a bash script called  in your home directory.

hungry.sh

should do two things:

I am hungry. Feed me data.
demands.txt

Firstly, it should output the text  to a file in your home directory called

hungry.sh
demands.log

Secondly,  should also output the date and time that the demand was made to a file in your home directory called

Do ensure that each output is appended to the previous one.

#!/bin/bash

Hint: Ensure that the bash script starts with the required  text

Task 2

 

hungry.sh , you are tasked to edit your crontab

Once you have created   and add a new row

hungry.sh

so that  runs every minute. Your computer loves data, after all 😉

Submission Guidelines

 

In the submission you should include:

1.     The entire contents of the bash script created in Task 1

2.     The new row in your crontab from Task 2

Please also include how long it took you to complete the assignment. This is so that I can make the estimation of how long the assignment takes more accurate over time.

Please also mark your submission open for feedback from other students so that you can receive feedback as fast as possible. Due to the high volume of submissions it is unlikely that I will be able to give everyone personalised feedback, but please take a look at the instructor example to see my solution after you have submitted your assignment.

Continued…

 

  • Assignment3-wmmic2.zip