GEN220_2021
GEN220 2021 edition
Project maintained by biodataprog
Hosted on GitHub Pages — Theme by mattgraham
Homework 1
Homework can be submitted via the github link which will create a repository for you with basic template of files you can edit to solve the homework. See the the table for homework submission links which will help you create a github repository in the class team.
https://piazza.com/ucr/fall2021/gen220001/resources
- Create a Github account using GitHub Accounts
- Submit the homework by creating a repository through github classroom Homework 1
- Write a shell script called
count_fires.sh
which does all of the following.
- Download a comma delimited datasets from data.gov file which are listing of fires in several decades. (hint use
curl
).
- Print out the number of fires for each decade (hint use
wc
)
- Print out the number of fires in each year (hint use
cut
and uniq
)
- Print out the largest fire (hint use
sort
) - use the GIS_ACRES
column
- Print out the total acerage burned in each year.