Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Homework, W01D01


Create a function in your .bash_profile that will set up a working directory for a new GA student!

Things it should do:

  • Create a folder called GeneralAssembly

  • Create 4 sub-folders in GeneralAssembly: Homework, Notes, Projects, and Outcomes

  • Create a sub-folder in Homework and Notes called week01

  • Create a sub-folder in each week01 folder called day01

  • Create a file in GeneralAssembly called README.md that contains a brief message from you to the student, telling them something along the lines of, "Keep calm and carry on"

  • Print a message saying, "Hey there, student! Welcome to WDI6! I just set up this directory tree for you:"

  • Print a tree showing the contents of the GeneralAssembly directory. It should look something like this:

  • GeneralAssembly/

    • Homework/
      • week01/
        • day01/
    • Notes/
      • week01/
        • day01/
    • Projects/
    • Outcomes/
    • README.md

When you're done:

  1. Go to https://gist.github.com and log in, if you aren't already
  2. Paste your code into the new gist, and give it a title and a file name
  3. Click "Create public gist" to save it
  4. Come back to this page (https://gist.github.com/RobertAKARobin/cde94e13170b01b225d0) and paste the link to your Gist as a comment at the bottom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.