I’ve been navigating Unix terminals for years, and I still use this command dozens of times every day.
You’re probably here because you’re stuck three or four folders deep in your project and need to move up one level fast. You don’t want to type out the full path. You just want to go back.
Here’s the answer: cd .. is the command you need. Two characters and a space. That’s it.
But knowing the command is just the start. Understanding how directory navigation actually works will make you faster in the terminal.
I’m going to show you exactly why cd .. works the way it does. Then I’ll walk you through related commands that will save you time when you’re jumping between directories.
This isn’t theory. These are the commands I use every single day at arcachdir when I’m managing files, organizing project folders, and moving through complex directory structures.
You’ll learn the mechanics behind parent directory navigation and pick up practical shortcuts that most beginners don’t discover until months later.
No fluff. Just the command you need and the context to use it well.
The Command to Move to a Parent Directory: cd ..
The answer is simple.
Type cd .. in your terminal. That’s it. C, d, space, dot, dot.
But let me break down what’s actually happening here.
The cd part stands for “change directory.” It’s the command you’ll use more than any other when you’re working in a terminal. Every time you need to move between folders, you’re using cd.
Now here’s where it gets interesting.
Those two dots? They’re not random. In Unix-like systems (which includes Linux, macOS, and even Windows PowerShell), .. is a built-in reference that always points to the parent directory. One level up from wherever you are right now.
Some people think you need to memorize complex paths or type out full directory names every time. They’ll tell you the terminal is too complicated for regular use.
But the data tells a different story.
According to a 2019 Stack Overflow survey, over 50% of developers use the command line daily. And cd .. is one of the most frequently used commands across all skill levels.
Why? Because it works the same way everywhere.
If you’re in /home/user/projects/website/images and you type cd .., you move to /home/user/projects/website. Do it again, you’re at /home/user/projects. The pattern never changes.
I use this at Arcachdir dozens of times a day when organizing files. It’s faster than clicking through folders in a file manager.
One dot (.) means the current directory. Two dots (..) means the parent.
That’s the whole system.
Understanding Your Location: The Current Directory and pwd
You can’t move around if you don’t know where you are.
That’s true whether you’re driving through Sherman or working in a Linux terminal. And in the command line, your current location matters more than you might think.
What is the ‘Current Working Directory’?
Think of it this way. Right now, you’re standing somewhere in your filesystem. That spot is your current working directory.
Every command you type gets executed from that exact location. If you try to open a file or run a script, the system looks in your current directory first.
It’s not complicated. You’re just in one folder at a time.
Finding Your Bearings with pwd
So how do you figure out where you are?
Type pwd and hit enter. That’s it.
The command stands for “print working directory.” It shows you the full path from the root of your filesystem to wherever you’re standing right now.
Here’s what it looks like:
$ pwd
/home/zyphren/projects
Now you know exactly where you are. No guessing.
I use this all the time when I’m jumping between directories in arcachdir. It keeps me from running commands in the wrong place (which I’ve done more times than I’d like to admit).
The Single Dot .
You’ve probably seen .. for moving up one directory. But what about .?
The single dot means “right here.” It’s shorthand for your current directory.
You won’t use it much with cd because you’re already where . points. But it shows up in other places:
- Running scripts from your current folder:
./myscript.sh - Copying files to where you are:
cp /some/file.txt . - Referencing the current location in commands
That last example is pretty common. Instead of typing out the full path, you just use . and save yourself some keystrokes.
Absolute vs. Relative Paths: Two Ways to Navigate

Think of it like giving directions.
You can tell someone “turn left at the next street” or you can give them the full address from scratch. Both get you there. But one makes more sense depending on where you’re starting.
That’s exactly how paths work in your file system.
Relative Paths (The .. Method)
When you use .. or . in a path, you’re telling the system where to go from where you are right now. It’s relative to your current spot.
Here’s what I mean:
| Command | What It Does | |
|---|---|---|
| ——— | ————– | |
| cd ../images | Go up one folder, then into images | |
| cd ../../config | Go up two folders, then into config | |
| cd ./scripts | Stay in current folder, go into scripts | To navigate through your game’s directory structure efficiently, mastering commands like “cd ../images” and “cd ../../config” can streamline your workflow, allowing you to quickly access the assets you need to enhance your . |
The benefit? You save time. Instead of typing out the entire path every single time, you just reference what’s nearby. When you’re working inside a project folder at arcachdir, this keeps things fast.
Absolute Paths (The Full Address)
An absolute path starts from the root directory (/). It’s the complete address.
Like this: cd /home/username/documents/project or cd /var/www/html.
These paths work from anywhere in your system. You could be five folders deep in some random directory and that absolute path will still take you exactly where you need to go.
The tradeoff? They’re longer to type. But they’re bulletproof.
When to Use Each
Here’s my rule.
Use relative paths when you’re moving around inside a project. You’re already in the neighborhood, so just reference what’s close.
Use absolute paths when you need to jump across your entire system. When you’re going from /home to /var or somewhere completely different, the full address makes sense.
Most of the time, you’ll mix both depending on what you’re doing.
Practical Scenarios and Chaining Commands
You know what drives me crazy?
Opening a terminal and getting completely lost in your own project folders. You’re three directories deep and suddenly you have no idea where you are or how to get where you need to go.
I see this all the time. Someone’s working in /project/src/js and needs to grab something from /project/dist/css. They panic and start typing out the full path from root.
There’s a better way.
Let me show you how chaining commands actually works in real situations.
Moving Up Multiple Levels
Say you’re buried deep in your project structure. You can stack .. to climb up fast.
cd ../../.. takes you up three levels in one shot.
No need to type cd .. three separate times (though that works too if you want to check where you land at each step).
Moving to a Sibling Directory
This is where things get useful. You’re in /project/src and need to reach /project/assets.
Simple: cd ../assets
You go up one level to /project, then drop into assets. One command instead of two.
Combining pwd and cd
Here’s my typical workflow. I run pwd to see where I am. Let’s say it shows /project/src/js.
Then I move: cd ../..
Run pwd again. Now I’m at /project.
It sounds basic but checking your location before and after saves you from that sinking feeling when you realize you’re in the wrong place.
Real-World Example
Picture a web project at arcachdir. You’ve got /project/src/js where you’re editing scripts. Now you need to check compiled styles in /project/dist/css.
From /project/src/js, you’d type: cd ../../dist/css
Up two levels to /project, then down into dist/css. Done.
Advanced and Time-Saving Navigation Techniques
You know that feeling when you’re deep in some nested folder and realize you need something from where you just were?
That moment of dread before you start typing out the whole path again.
There’s a better way.
The cd - command is your toggle switch. Type it once and you snap back to your previous directory. Type it again and you’re back where you started. It’s like flipping between two channels (except actually useful).
I use this constantly when I’m moving files between two spots or comparing configs.
Need to get home fast? Just type cd by itself. Or cd ~ if you want to be explicit about it. Either way, you’re back in your home directory before you finish blinking.
Some people say learning these shortcuts is overkill. They argue that typing full paths keeps you aware of where you are in the system.
But here’s what I’ve found working in arcachdir. Those extra keystrokes add up. When you’re navigating dozens of times a day, these shortcuts save real time.
For power users, there’s pushd and popd. Think of them as bookmarks for directories. You push a location onto a stack, jump around doing whatever you need, then pop back to where you were. In the same way that experienced gamers utilize pushd and popd to navigate their directories with precision, art enthusiasts often ponder the question, “Why Do Paintings Sell for so Much Arcachdir,” as they explore the intricate value systems within the art world.
The commands feel crisp under your fingers once you get the rhythm down.
Navigating with Confidence
You came here looking for the command to move to a parent directory. That command is cd ...
No more typing out long paths just to move up one level. You’ve solved the frustration of navigating your terminal the hard way.
The reason this works is simple. Once you understand relative paths and what .. actually means, you can move through your file system without thinking twice. It’s about knowing where you are and how directories connect to each other.
Here’s what you need to do: Open your terminal right now. Type pwd to see your current location. Use cd to move into a few folders, then practice cd .. to come back up. Do it until it becomes second nature.
arcachdir exists to help you build these skills. The more you practice, the faster you’ll work.
Stop overthinking your file navigation. Start using what you just learned. Exhibitions Arcachdir. Arcachdir Exhibition Paintings by Arcyart.

Zyphren Kryndall is the kind of writer who genuinely cannot publish something without checking it twice. Maybe three times. They came to inspiration and resources through years of hands-on work rather than theory, which means the things they writes about — Inspiration and Resources, Creative Techniques and Tutorials, Gallery Exhibitions and Reviews, among other areas — are things they has actually tested, questioned, and revised opinions on more than once.
That shows in the work. Zyphren's pieces tend to go a level deeper than most. Not in a way that becomes unreadable, but in a way that makes you realize you'd been missing something important. They has a habit of finding the detail that everybody else glosses over and making it the center of the story — which sounds simple, but takes a rare combination of curiosity and patience to pull off consistently. The writing never feels rushed. It feels like someone who sat with the subject long enough to actually understand it.
Outside of specific topics, what Zyphren cares about most is whether the reader walks away with something useful. Not impressed. Not entertained. Useful. That's a harder bar to clear than it sounds, and they clears it more often than not — which is why readers tend to remember Zyphren's articles long after they've forgotten the headline.

