Skip to content

generalassembly-atx/cli_golf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CLI Golf

  1. Read: ProGit, Chapter 1.1
  2. Using mv, cp, rm and mkdir, reorganize the kitchen in as few steps as possible!
  3. Once you're finished, go up to the file menu at the top and click Shell -> Export Text As... and save the output to your desktop. Tomorrow you'll submit this file to your homework repository.

Start Here:

kitchen/
β”œβ”€β”€ cans.txt
β”œβ”€β”€ fridge
β”‚   β”œβ”€β”€ diapers.txt
β”‚   β”œβ”€β”€ freezer
β”‚   β”‚   β”œβ”€β”€ couch.txt
β”‚   β”‚   β”œβ”€β”€ frozenpeas.txt
β”‚   β”‚   └── icecream.txt
β”‚   β”œβ”€β”€ milk.txt
β”‚   └── trashcan
β”‚       β”œβ”€β”€ banana-peels.txt
β”‚       β”œβ”€β”€ chicken-bones.txt
β”‚       β”œβ”€β”€ egg-shells.txt
β”‚       └── sink
β”‚           β”œβ”€β”€ clean-dishes.txt
β”‚           β”œβ”€β”€ delete-me.txt
β”‚           └── dirty-dishes.txt
└── pantry
    β”œβ”€β”€ cans.txt
    β”œβ”€β”€ cereal.txt
    └── crisper-drawer
        └── lettuce.txt

End Here:

kitchen/
β”œβ”€β”€ fridge/
β”‚   β”œβ”€β”€ crisper-drawer/
β”‚   β”‚   β”œβ”€β”€ apples.txt
β”‚   β”‚   └── lettuce.txt
β”‚   β”œβ”€β”€ freezer/
β”‚   β”‚   β”œβ”€β”€ frozenpeas.txt
β”‚   β”‚   └── icecream.txt
β”‚   └── milk.txt
β”œβ”€β”€ pantry/
β”‚   β”œβ”€β”€ cans.txt
β”‚   └── cereal.txt
β”œβ”€β”€ sink/
β”‚   β”œβ”€β”€ dirty-dishes.txt
β”‚   └── drying-rack/
β”‚       └── clean-dishes.txt
└── trashcan/
    β”œβ”€β”€ banana-peels.txt
    β”œβ”€β”€ chicken-bones.txt
    └── egg-shells.txt

Licensing

All content is licensed under a CCΒ­BYΒ­NCΒ­SA 4.0 license. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors