Zsh Shell Tutorial #3: File Operations - touch, mkdir, cp, mv, rm & Wildcards (macOS)

30views
00
7:43
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
🐚 Master file operations in Zsh! Learn to create, copy, move, and delete files and directories like a pro. In this lesson, you'll learn: šŸ“„ touch - Create empty files or update timestamps šŸ“ mkdir - Create directories (with -p for nested folders!) šŸ“‹ cp - Copy files and directories (-r for recursive) šŸ“¦ mv - Move and rename files in one command šŸ—‘ļø rm - Delete files safely (WARNING: no trash, permanent deletion!) ✨ Wildcards - Pattern matching with *, ?, and [...] āš ļø IMPORTANT: Files deleted with rm are PERMANENTLY gone - there's no undo! šŸŽÆ Perfect for macOS users starting their terminal journey. šŸ“ŗ This is part of our Zsh Shell Tutorial Series for complete beginners. ā±ļø Timestamps: 0:00 - Introduction 0:25 - Creating Files with touch 1:01 - Creating Directories with mkdir 1:37 - touch & mkdir Demo 2:12 - Copying Files with cp 2:55 - Moving & Renaming with mv 3:31 - cp & mv Demo 4:09 - Deleting Files with rm (Be Careful!) 4:57 - rm Demo 5:25 - Wildcards - Pattern Matching 6:13 - Wildcards Demo 6:44 - Recap 7:12 - Next Lesson Preview šŸ‘ If this helped you, please LIKE and SUBSCRIBE for more tutorials! #zsh #shell #terminal #macos #programming #tutorial #commandline #bash #linux #coding #filemanagement #beginners
Back to tutorials

Duration

7:43

Published

January 9, 2026

Added to Codegiz

March 15, 2026

Open in YouTube