Recap: File Management
Chapter 2 was about building and tidying: making folders and files, copying, moving, renaming and deleting them.
Plan the structure before you build it, and look at your work between steps. Which command makes each part is up to you.
Mission: New Mission Scaffold
A deep-space survey mission has been approved and the science team needs its project folder before they upload data. The last officer also left junk behind. When you are done, your home directory must look like this:
.
├── project
│ ├── docs
│ │ └── readme.txt
│ └── src
│ └── main.sh
└── template.txt
main.sh is empty, and readme.txt is a copy of template.txt, word for word. Nothing else is left.
Expected result
Drawing your home directory as a tree shows exactly the plan above, and the readme reads like the template.