remove a duplicate directory path

How do I remove a duplicate directory path in a dirs command stack?
> How do I remove a duplicate directory path in a dirs command stack?
RTFM?
https://www.gnu.org/software/bash/manual/bash.html#Directory-Stack-Builtins
Scroll down just a little bit and see the options that popd provides.
Registered users can post here. Sign in or register to post.