Zsh Tutorial: Navigate Files Like a Pro | cd, pwd, ls Commands (Lesson 2)
20views
005:54
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
š 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