How To Quickly Switch Back To Previous Directory When Using Linux Terminal

Showing current working directory
One of the earlier posts described how to quickly switch to home directory when using Linux Terminal. What if one needs to go back to the previous directory when using the Terminal? Here is a simple way to do that : Open Terminal and type : cd - The below example shows the initial directory as /home/avp/Music. To switch back to it from another directory, simply issue the command as mentioned. This...