Skip to content

er129idm/command-line-refrigerator-lab

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Lab: Clean Up The Fridge!

I love your filthy fridge but... life might be a little bit simpler if we cleaned things up!

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 maching, 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/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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published