14

Often I would like to open a new terminal in the directory i'm currently working in. E.g. I'm working in ~/some/folder/ and I want to run some program, while at the same time keep a terminal at my disposal in the current directory.

Is there some way I can duplicate the current terminal, by some command or maybe a key combination?

Braiam
  • 69,112
user717572
  • 673
  • 2
  • 6
  • 9

2 Answers2

26

Press Ctrl + Shift + T

This will open a new tab in GNOME Terminal with same directory(PWD)

Press Ctrl + Shift + N

This will open a new window of GNOME Terminal with same directory(PWD)

dedunu
  • 9,556
4

You can open a second terminal in the same directory using the following command:

nohup gnome-terminal --working-directory $PWD >&/dev/null

And create an alias to quickly get it:

alias dupterm='nohup gnome-terminal --working-directory $PWD >&/dev/null'

You can have the same result with the following keyboard shortcut: Ctrl + Shift + n