ga-wdi-exercises / to_oz

Navigate the directory tree using the command line. [cli, basics]
0 stars 49 forks source link

To Oz? To Oz!

Follow the steps below.

Keep track of your commands in a separate text file and when you are finished, paste this list of your commands into an issue on this repository.

Queue the music

  1. Create directory "House"
  2. Add files: "Dorothy" and "Toto" to "House"
  3. Create directory "Oz"
  4. Add files for the 4 Witches to "Oz":
    • Good Witch of the North
    • Wicked Witch of the East
    • Good Witch of the South
    • Wicked Witch of the West

Ding! Dong! The Witch is Dead

  1. Delete: "Wicked Witch of the East"
  2. Move "Dorothy" from "House" to "Oz"

Follow the Yellow Brick Road

  1. Add file for "Scarecrow"
  2. Add file for "Tin Man"
  3. Add file for "Cowardly Lion"
  4. Create directory "Emerald City"
  5. Move 'the gang' to "Emerald City"

You Must Kill the Witch

  1. Add "Flying Monkeys" to "Oz"
  2. Remove "Wicked Witch of the West"
  3. Give the gifts*
    1. Give Scarecrow a diploma
    2. Give Tin Man a heart shaped watch
    3. Give Lion a medal

*: to give gifts, echo the giftname into the appropriate file.

Hint: Thing to google "how to redirect output of echo to a file"


"I hereby confer upon you the honorary degree of TH.D."