Bash is more versatile than you think
cd, or change directory, is a fundamental command in Unix-like systems. Bash params can be used with it quite efficiently.
Kalle Tolonen · · 1 min read · Updated
cd
linux
bash
Nice shortcuts
#Change to user's home dir
cd
# Change to previous dir
cd -
Same works with git
git checkout -
All articles
Comments
No published comments yet.
Add a Comment
Your comment is held for review before it appears publicly.