how to switch between working directories

Well here might be situation you would like to swtich to a new directory location and return back to the previous location in one step.

Here it is :

$] cd /newpath.

$] some task done…

$] cd – && pwd

Yep, it helps and comes handy. Might be i am not full, but i use it many times a day to do my work tasks.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: