Using Your Terminal's Directory Stack to Work With Multiple Directories
· ☕ 2 min read
Your terminal can maintain a list of directories you have visited by storing them in a stack. You can manipulate this stack using commands like pushd to push a new entry onto this stack or popd to pop an existing entry off of the current stack.
Navigate Your Shell With pushd and popd - Quick Tip
· ☕ 1 min read
There are a few ways to navigate your shell in terminals. One of the less common but useful ways I’ve found when working with multiple directories takes advantage of the directory stack most terminals maintain.