Zsh Shell Tutorial #3: File Operations - touch, mkdir, cp, mv, rm & Wildcards (macOS)
30views
007:43
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
š 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