Skip to main content
Tweeted twitter.com/#!/StackUnix/status/351583953813127168
rephrased question into actual question, removed unnecessary bold text, highlighted some bash code and rephrased first sentence
Source Link
Mat
  • 54.9k
  • 11
  • 164
  • 143

How to go to the pastprevious working directory in terminal?

In terminal, how can I define a key to go to the pastprevious directory which I was in when changing directory bywith the cd command? 

For example, I'm in /opt/soft/bin and I cd into /etc/squid3 and I want to get back to the first directory.

How to go to the past working directory in terminal?

In terminal, how can I define a key to go the past directory which I was in when changing directory by cd command? For example, I'm in /opt/soft/bin and I cd into /etc/squid3 and I want to get back to the first directory.

How to go to the previous working directory in terminal?

In terminal, how can I define a key to go to the previous directory which I was in when changing directory with the cd command? 

For example, I'm in /opt/soft/bin and I cd into /etc/squid3 and I want to get back to the first directory.

rephrased question into actual question, removed unnecessary bold text, highlighted some bash code and rephrased first sentence
Source Link

Go How to go to the past working directory in terminal?

In terminal, how can I define a key to go the past directory which I was in, by terminal when changing directory by cd command? For For example, I'm in /opt/soft/bin and I cdcd into /etc/squid3 and I want to get backget back to the first directory.

Go to the past working directory in terminal

how can I define a key to go the past directory which I was in, by terminal when changing directory by cd command? For example I'm in /opt/soft/bin and I cd into /etc/squid3 and I want to get back to the first directory.

How to go to the past working directory in terminal?

In terminal, how can I define a key to go the past directory which I was in when changing directory by cd command? For example, I'm in /opt/soft/bin and I cd into /etc/squid3 and I want to get back to the first directory.

edited tags
Link
Gilles 'SO- stop being evil'
  • 865.9k
  • 205
  • 1.8k
  • 2.3k
Source Link
Hojat Taheri
  • 5.1k
  • 6
  • 25
  • 22
Loading