Week 7 Exercise

Created Wednesday 07 October 2020

For all questions:
SHOW YOUR WORK by providing the command line tools or steps you took. (You may copy and paste from the web, as well as right-clicking the files to get them, but otherwise try to use the command line for literally everything)

For exercises with multiple steps, you may either write it in a script or type out the multiple steps.

For all of these, you should be able to easily replicate what you did with larger files or data sets (e.g. even if you could alphabetize a 10 item list by hand, I need you to provide a solution for a 100000 item list.)

Either screenshots or typing or copy/pasting your bash code is fine. This is a individual assignment; though if things get tough you may consult with your team, but you will get the most out of it — both for your own benefit as well as prep for the quiz - if you first try all of these yourself.



  1. The following list of names and zipcodes is in a strange format. With one short command, change it to a "csv" — which stands for "comma separated values."
./weirdlist

  1. Which nouns in this list contain the string "taco"? (FYI, this is a generated word list, may contain objectionable language)
./nouns


  1. How many transactions in ./10000 Sales Records.csv originated in Nigeria?


  1. Download and unzip the file the image in the zip, which represents a picture taken during the commission of a heinous crime. Extract the EXIF information and save it.
    1. Determine the date, and time it was taken(this is tricky, it's not the "profile" or "file" access time. Look for "original")
    2. Name the city and state it was taken in (spooky, right?)
./evidence.zip


  1. There is a drink list and a food list. Turn them into one list, alphabetized.
./drinklist
./foodlist

  1. //This is somewhat of a bonus; you may definitely want to work with your team on it, but first try it on your own:// Sort them by PRICE, lowest to highest. I should be able to see both the food name and the price. Again, this should work not just with these lists, but of any size.



Backlinks: FSU Courses:LIS4774