Skip to content
skillbld
Linux Command Line · 14-day planAll days
Day 3 of 14 30 min

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
  1. 1Creating files and folders
  2. 2Copying, moving and renaming
  3. 3Deleting
  4. 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

Keep going

Day 3: Files & Folders · Linux Command Line · SkillBld