I was wondering if there was a way to navigate back to the previous folder after a 'cd'.
~/ cd /home/ ~/ cd /usr/local/ ~/ want should I write here to return to the home dir (not 'cd /home' ^^)
If you're using bash or some similar shell you can use
The pushd/popd utilities keep a stack of the directories that you have visited.
The downside is that you need to remember to use