Coding is as much a matter of personal growth as it is of logic and control-flow. I keep patience, curiosity, & exuberance in the same toolbox as vim and git.
*Opinions posted are my own*
Great intro, I will definitely share this when asked.
Now if you want to go back to the directory you were in before ~/Development, you can use the command cd ... This command navigates up one directory.
TIL you can cd - to go back
cd Documents
pwd
/Users/bennyp/Documents
cd
pwd
/Users/bennyp
cd ..
pwd
/Users
cd
cd Documents
pwd
/Users/bennyp/Documents
cd
pwd
/Users/bennyp
cd -
pwd
/Users/bennyp/Documents
Coding is as much a matter of personal growth as it is of logic and control-flow. I keep patience, curiosity, & exuberance in the same toolbox as vim and git.
*Opinions posted are my own*
Great intro, I will definitely share this when asked.
TIL you can
cd -
to go backI had no idea this existed! This is awesome. Thank you for sharing.
Yeah I literally looked it up today.
There's
pushd
andpopd
also, but I wanted something that works like the back button even if I hadnt pushed.Google brought me to unix.stackexchange.com/questions/8...