How do you switch back to the last working directory in Linux?
Experience Level: Junior
Tags: Linux
Answer
Run the following command:
cd -
Related Linux job interview questions
How do you run multiple commands at once in Linux terminal?
Linux JuniorHow do you go back to home directory in Linux?
Linux JuniorHow do you autocomplete a command in a Linux terminal?
Linux JuniorWhat is a difference between chown and chmod in Linux?
Linux JuniorWhat is sed command used for in Linux?
Linux Junior