Linux commands: pwd
A quick guide to the pwd command, used to check the current working directory
Whenever you feel lost in the filesystem, call the pwd
command to know where you are:
pwd
It will print the current folder path.
This command works on Linux, macOS, WSL, and anywhere you have a UNIX environment
→ Here's my latest YouTube video
→ Get my Linux Command Line Handbook
→ I wrote 17 books to help you become a better developer, download them all at $0 cost by joining my newsletter
→ JOIN MY CODING BOOTCAMP, an amazing cohort course that will be a huge step up in your coding career - covering React, Next.js - next edition February 2025