Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not as robust as pushd/popd, and it may vary from shell to shell, but at least in bash you can also use "cd -" to change to the previous directory.


pro tip : you can also do the same with git : "git checkout -" will bring you to the previous commit you were on




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: