$25
“Hungry for Data” Project Brief
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 ;)