I'd like to be able to type in terminal commands of forward/back especially if I went from a directory with a super-long name to home (and want to return back to the directory with the super-long name).
Shell – Equivalent of forward/back buttons for unix shell (when navigating directories)
command linedirectoryshell
Best Answer
pushd and popd can be very useful. For example try
and when you are done, just do
and you are back where you started.
The best part is you can do
and then you can "step back" one at a time using popd.
Good luck!