Bash Basics
Welcome to Bash! The Bourne Again Shell (Bash) is your gateway to powerful command-line operations on Unix-like systems. In this lesson, you'll learn the first two essential commands every Bash user needs to know.
The Foundation: pwd and ls
When you first open a terminal, you might wonder: "Where am I?" That's where pwd comes in.
Real-World Examples
Find your current location:
Listing Files with ls
Now that you know where you are, let's see what's around you. The ls command lists all files and directories in your current location.
See your files:
Why These Commands Matter
Think of your file system as a building with many rooms (directories). pwd tells you which room you're in, and ls shows you what's inside that room. Together, they form the foundation of terminal navigation.
Knowledge Check
1 / 3What does pwd stand for?
References
These Microsoft Learn and Windows documentation links provide authoritative details for the commands used in this article.