Linux Command Line · 14-day planAll days
Day 3 of 14 30 minmkdircp & mvWildcards
Create, copy, move, rename and delete files and folders from the terminal. Learn touch, mkdir -p, cp -r, mv and rm, use wildcards to work on many files at once, and the habits that keep you from deleting the wrong thing.
By the end of today you can
- Create files and folders with touch and mkdir -p
- Copy, move and rename with cp and mv, including whole folders
- Delete safely with rm, rmdir and rm -r
- Use wildcards like *.txt to work with many files
- Avoid the classic mistakes that delete the wrong files
What's inside
- 4 sections
- 2 diagrams and mind maps
- 4 code examples you can run
- 5-question quiz
- 1Creating files and folders
- 2Copying, moving and renaming
- 3Deleting
- 4Wildcards
Sign in free to read this lesson
Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.
Sign in free