✍️ Formative W02-W03

DS105 - Data for Data Science

Author

Anton Boichenko

Published

16 September 2022

Formative assignment

This problem set is not graded but you will get written feedback if you submit.

Check out the 🔖 Week 02 Appendix - 📃 Text editors section for more info on vim.

Follow the steps below and, when asked, copy your responses to the Moodle page of this assignment.

P1: Identify yourself

  1. On the terminal, type the two commands below:

     whoami
     uname -a
  2. Take a screenshot (how?) of your terminal and submit to Moodle, under the field identified as P1.

P2: Edit a file

  1. Go to the DS105 folder you created earlier during W02 lab:

     cd ~/DS105
  2. Rename the README.txt to README.md (a markdown file):

     mv README.txt README.md
  3. Edit the README.md file following the template below, replacing all occurrences of <> with your responses:

    # DS105
    
    Name: <>
    Date: <>
    Candidate Number: <>
    Degree Program: <>
    
    ## Notes
    
    - I want to learn data science because <>
  4. Save and quit vim.

  5. Print some metadata about your file to prove you were the one editing it:

     stat README.md
  6. Print the contents of your file to the terminal:

     cat README.md
  7. Take a screenshot (how?) of your terminal and submit to Moodle, under the field identified as P2. Make sure that both the output of stat and cat commands are visible.