Zsh Tutorial: Navigate Files Like a Pro | cd, pwd, ls Commands (Lesson 2)

20views
00
5:54
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
šŸ“‚ Learn to Navigate the File System in Zsh! In Lesson 2 of our Zsh Shell Tutorial series, you'll master navigating directories on macOS. By the end, you'll move through your file system with confidence! šŸ“š What You'll Learn: ━━━━━━━━━━━━━━━━━━━━━ • The macOS file system hierarchy • pwd - Print Working Directory (know where you are) • cd - Change Directory (navigate anywhere) • ls - List files with useful options (-l, -a, -h) • Path shortcuts: ~, ., .., and - • Tab completion to save typing ā±ļø Timestamps: ━━━━━━━━━━━━━ 0:00 - Introduction 0:20 - File System Hierarchy 1:10 - pwd Command 1:40 - Navigation Demo 2:19 - ls Command 2:59 - Listing Files Demo 3:33 - Path Shortcuts 4:18 - Tab Completion 4:53 - Recap 5:23 - End Screen šŸ’» Commands Covered: ━━━━━━━━━━━━━━━━━━━ pwd - Print current directory cd - Change directory cd ~ - Go to home directory cd .. - Go up one level cd - - Go to previous directory ls - List files ls -l - Long format with details ls -a - Show hidden files ls -lah - All options combined šŸ”— Path Shortcuts: ━━━━━━━━━━━━━━━━━ ~ (tilde) - Home directory . (dot) - Current directory .. (double dot) - Parent directory - (dash) - Previous directory / (slash) - Root directory šŸ“ŗ Series Playlist: ━━━━━━━━━━━━━━━━━━━ This is Lesson 2 of our complete Zsh Shell Scripting series. Subscribe and hit the bell to catch all 30 lessons! Previous: Lesson 1 - Introduction to Zsh Next: Lesson 3 - File Operations (touch, mkdir, cp, mv, rm) #zsh #macos #terminal #shell #commandline #cd #pwd #ls #navigation #filesystem #tutorial #beginner
Back to tutorials

Duration

5:54

Published

January 8, 2026

Added to Codegiz

March 15, 2026

Open in YouTube