bd

quickly go back to a specific parent directory in bash

Install

All systems
curl cmd.cat/bd.sh
Debian Debian
apt-get install bd
Ubuntu
apt-get install bd
image/svg+xml Kali Linux
apt-get install bd
Windows (WSL2)
sudo apt-get update sudo apt-get install bd
Raspbian
apt-get install bd

bd

quickly go back to a specific parent directory in bash

bd allows you to go to a parent directory in bash instead of typing "cd ../../.." redundantly. You can simply type backdir with starting few letters and it will auto complete the directory name. It can be used with other commands such as ls, ln, echo, zip, tar, etc.