views:

63

answers:

2

Very often I need two gnome-terminal sessions at the same location. Is it possible to open a single terminal, get to the directory I need, and make a duplicate of the terminal so I don't have to type in the cd command (which can get lengthy) a second time in the second window?

+3  A: 

Go to your directory of choice, then you have some alternatives:

  1. 'gnome-terminal' will open new terminal in that directory
  2. New tab will open new tab in same directory
  3. You can start a new GNU Screen session based in this directory.
kaizer.se
+1  A: 

Whenever you have a gnome-terminal open, opening a new tab (i.e. Ctrl-Shift-T) will open a new tab in the same directory you're in when you make the tab.

Ctrl-Shift-N does the same thing, but opens a different window.

DaveParillo