Cómo dejar un directorio en la terminal
Leaving your Current Working Directory
$ cd
Returns you to your login directory.
$ cd -
Returns you to your previous working directory.
$ cd ~
Also returns you to your login directory.
$ cd /
Takes you to the entire system's root directory.
$ cd /root
Takes you to the home directory of the root user.
OHIOLee