Last Updated: February 25, 2016
·
720
· twolfson

Change to the previous directory

cd - will move you to the previous directory

For example, if you are in /var/www/hello and you run cd ~/world. Then, running cd - will return you to /var/www/hello.