1. This is a traditional paper and pencil quiz over Regular Expression.


You have 25 minutes.
See here for the quiz. It's solution is here.

2. Grabbing PDFs


Find the names of all the PDF documents in this web page: Celebration of Student Academic Excellence 2016.

Click here for the jupyter notebook

3. Linux commands


Most used Linux Commands

  • pwd - full path to the current directory (i.e., current folder)
  • cd - change directory
  • ls - list items in a directoy
  • man - manual
  • mkdir - make a new directory
  • cp - copy file
  • mv - move file
  • rm - remove/delete file
  • For large text files, you may want to analye them one line at a time using grep

Caution! Not these are not undoable!!

See Linux command cheat sheet here: https://files.fosswire.com/2007/08/fwunixref.pdf

Further Motivation: Basically all supercomputers are built on linux. See this chart on the most powerful supercomputers.

From python, you can use 'import os' to run linux commands

os.system( your_command_as_a_string ) -- os.system('pwd')

If you want to capture the output with your code, you'll need a more complicated method: Google "python subprocess.Popen".