Due by 11:59.59pm Friday, March 04
For this assignment you will be:
We're going to start things off nice and simple. I'll recommend you create a cs241 directory in your CS account and a hw1 directory inside that.
First off, go to https://classroom.github.com/a/s-Y4_AD6 and create a repository in the CS 241 organization.
Click on the link and head towards the created repository. It will be called hw1-username
Go back to your CS account to the cs241 directory above, and clone the repository into this account. Refer to the github tutorials for how to do this step, or to Tuesday's class.
Download the file hw1.zip into the directory. You can download it to your local machine and then copy it over with scp, CyberDuck, or some other SFTP client, or you can type:
wget https://occs.cs.oberlin.edu/~rhoyle/22s-cs241/assignments/starters/hw1.zipto download it from the Internet. Alternatively, we can take advantage of the fact that occs and clyde share the same filesystem, and we can copy it from my pub directory, where I keep all course-related files:
cp ~rhoyle/pub/cs241/hw1/hw1.zip .and that will copy "unix-intro-files.zip" to the currect directory. Note how we used "." in the command above to indicate the curent directory. However you do it, once you have the file where you want it, you can unzip it with
unzip hw1.zipThis will add 5 files, 3 of which are empty, to your current directory:
hoyle@occs:~/pub/cs241/hw1$ ./diskhogger.sh 11K zombie 11K pipe-eof 11K pipe 10K dup-exec 9.9K alarm-handle hoyle@occs:~/pub/cs241/hw1$
hoyle@occs:~/pub/cs241/hw1$ ./modified.sh -rw-r--r-- 1 rhoyle rhoyle 1653 Dec 7 11:59 /usr/users/noquota/faculty/rhoyle/pub/cs241/structs/struct_pointer.c -rw-r--r-- 1 rhoyle rhoyle 534 Dec 7 11:33 /usr/users/noquota/faculty/rhoyle/pub/cs241/structs/struct_size.c -rw-r--r-- 1 rhoyle rhoyle 897 Dec 7 10:08 /usr/users/noquota/faculty/rhoyle/pub/cs241/structs/union_demo.c -rw-r--r-- 1 rhoyle rhoyle 1572 Dec 14 11:20 /usr/users/noquota/faculty/rhoyle/pub/cs241/structs/linked_list.c -rw-rw-r-- 1 rhoyle rhoyle 536 Jan 12 11:24 /usr/users/noquota/faculty/rhoyle/pub/cs241/bytes/printbit.c -rw-r--r-- 1 rhoyle rhoyle 1071 Dec 21 11:30 /usr/users/noquota/faculty/rhoyle/pub/cs241/week10/varargs.c -rw-r--r-- 1 rhoyle rhoyle 702 Dec 2 11:55 /usr/users/noquota/faculty/rhoyle/pub/cs241/mdarrays/square_array.c -rw-r--r-- 1 rhoyle rhoyle 1044 Dec 2 12:14 /usr/users/noquota/faculty/rhoyle/pub/cs241/sort/sort.c -rw-r--r-- 1 rhoyle rhoyle 186 Dec 2 11:30 /usr/users/noquota/faculty/rhoyle/pub/cs241/c-intro/hello.c -rw-r--r-- 1 rhoyle rhoyle 745 Dec 16 11:43 /usr/users/noquota/faculty/rhoyle/pub/cs241/io/scanf.c -rw-rw-r-- 1 rhoyle rhoyle 312 Dec 14 10:50 /usr/users/noquota/faculty/rhoyle/pub/cs241/io/bigfile2.c -rw-r--r-- 1 rhoyle rhoyle 358 Dec 14 11:53 /usr/users/noquota/faculty/rhoyle/pub/cs241/io/fopen.c -rw-r--r-- 1 rhoyle rhoyle 539 Dec 14 12:37 /usr/users/noquota/faculty/rhoyle/pub/cs241/io/bigfile.c -rw-rw-r-- 1 rhoyle rhoyle 1124 Dec 2 11:26 /usr/users/noquota/faculty/rhoyle/pub/cs241/strings/strdup.c -rw-rw-r-- 1 rhoyle rhoyle 75 Dec 7 11:08 /usr/users/noquota/faculty/rhoyle/pub/cs241/gdb/crash.c hoyle@occs:~/pub/cs241/hw1$
I often find myself using shell tools to answer questions about a data file that I'm working on. The file that we will work on can be downloaded from https://coronavirus.ohio.gov/static/dashboards/COVIDSummaryData.csv. You should use wget or curl to download it.
Answer the following questions in your README file (and give the commands used to find the answer):
Potentially useful commands to look at include cut, sort, and uniq. Please include the commands you used to generate your answers and the answers that you get in the file data_file_analysis. Include the downloaded data file with your submission as the file will change over time.
Finally, I want you to create a file called README (note all caps and no file extension) which contains the following sections:
I have adhered to the Honor Code in this assignment
Run git add, commit, and push to send your changes to GitHub. You should check via the GitHub web interface to make sure that your files have been submitted properly.