DEV Community

Discussion on: #OneDevMinute: Go back to the Previous Directory

 
val_baca profile image
Valentin Baca

correct, popd uses the pushd history; it does not use the directory hierarchy. Use cd .. for that.