Ubuntu – How to save current directory path from terminal

gnome-terminal

Is there any way to save the path of the current directory from the current Gnome Terminal window?

I need this when I open another terminal and have to type cd repeatedly again.

Best Answer

Press Ctrl+Shift+N in gnome-terminal for a new terminal window.

Press Ctrl+Shift+T in gnome-terminal for a new terminal tab.

Or right click in the terminal and chose New Terminal or New Tab

The new terminal window or tab inherits the working directory from its parent terminal.

This works also with the Xfce terminal.

LXTerminal only inherits the working directory from its parent terminal on a new tab.