Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.27 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.27 KB

Lab: Clean Up The Fridge!

Dirty Fridge

Your kitchen is a disaster. We're not blaming anyone, but when we opened up the fridge today, we almost passed out. Please, please clean up your mess.

Instructions

You'll be practicing your command line skills by organizing the files in your refrigerator.

  • Fork and Clone this repository. Once you have it on your machine, cd into the project directory. Here is what your refrigerator currently looks like:

tree of directories

  • Using ls, pwd, cd, mv, and rm, get the food files in their correct directories. Here's how we'd move the watermelon from the meat directory into the fruits directory (first you'll need to cd into the meat directory):
mv watermelon.jpg ../produce/fruits/

This will move the watermelon up one level (..) which will place it in the general fridge directory, and then it is moved into "produce" and then "fruit"

  • Use rm to remove any roaches you find!

  • Use touch to add at least three new foods - label them as .txt files. For example (in the fruit directory) type:

touch peaches.txt