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

๐Ÿ“– Read the articleOpen in YouTube