RSS Feed

Changing to the previous directory

A rather easy to remember but often not used change directory parameter, changing to your previous directory and the directory before that. It’s simple, easy to remember, so why are you not using it?

Change back to your previous directory:

cd -

Change back to the directory before your previous

cd –

Simple, easy to remember and extremely useful.

Posted in Linux on the 25th May 2010


Your email address will not be published. Required fields are marked *