---
title: "Keeping track of directories using pushd and pop"
url: https://daily.dev/posts/keeping-track-of-directories-using-pushd-and-pop-z2mf1r1bn
source_url: https://www.lewis8s.codes/bash/linux/shell/2024/04/19/Keeping-track-of-directories-using-pushd-and-pop
type: article
source: "Lobsters"
published: 2024-04-27T22:35:57.918Z
updated: 2024-05-09T09:30:38.138Z
tags: ["shell", "bash"]
reading_time: 2
upvotes: 3
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Keeping track of directories using pushd and pop

**[Lobsters](https://daily.dev/sources/lobsters)** · 2 min read · 3 upvotes · 0 comments

## Summary

Learn how to use pushd and popd commands in the shell to navigate directories across the filesystem easily and save time.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.lewis8s.codes/bash/linux/shell/2024/04/19/Keeping-track-of-directories-using-pushd-and-pop>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#shell](https://daily.dev/tags/shell), [#bash](https://daily.dev/tags/bash)

[View this post on daily.dev](https://daily.dev/posts/keeping-track-of-directories-using-pushd-and-pop-z2mf1r1bn)
