I love your filthy fridge but... life might be a little bit simpler if we cleaned things up!
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 maching,
cd
into the project directory. Here is what your refrigerator currently looks like:
- Using
ls
,pwd
,cd
,mv
, andrm
, 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 tocd
into the meat directory):
mv watermelon.jpg ../produce/fruit
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 tidepods.txt