ga-wdi-exercises / to_oz

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

CLI - to_oz #244

Closed kadkins4 closed 7 years ago

kadkins4 commented 7 years ago
  1. $ mkdir House
  2. $ touch Dorothy.txt Toto.txt House/
  3. $ mkdir Oz
  4. $ cd Oz/
  5. $ touch Good_Witch_of_the_North.txt Wicked_Witch_of_the_East.txt Good_Witch_of_the_South.txt Wicked_Witch_of_the_West.txt

Ding! Dong! The Witch is Dead

  1. $ rm Wicked_Witch_of_the_East.txt
  2. $ cd ../House/
  3. $ mv Dorothy.txt ../Oz/

Follow the Yellow Brick Road

  1. $ cd ../Oz/
  2. $ touch Scarecrow.txt Tin_Man.txt Cowardly_Lion.txt
  3. $ mkdir Emerald_City
  4. $ mv Scarecrow.txt Tin_Man.txt Cowardly_Lion.txt Dorothy.txt Emerald_City/

You Must Kill the Witch

  1. $ touch Flying_Monkeys.txt Oz/
  2. $ rm Wicked_Witch_of_the_West.txt
  3. cd Emerald_City/
  4. echo "diploma" Scarecrow.txt

    diploma Scarecrow.txt

  5. echo “heart shaped watch” Tin_Man.txt

    heart shaped watch Tin_Man.txt

  6. echo "medal" cowardly_lion.txt

    medal cowardly_lion.txt

kadkins4 commented 7 years ago

correction... for echo, if we are supposed to give the rewards it reads like this

  1. echo "diploma" > Scarecrow.txt
  2. echo "heart shaped watch" > Tin_Man.txt
  3. echo "medal" > Cowardly_Lion.txt
kadkins4 commented 7 years ago

comfort level: 5 completion: 5