1

I have to duplicate the terminal session at same directory. I found a solution here. It is working.

But my case is little bit different. If I am already a root user then duplicating terminal is shifting me to normal user at same directory. I want duplicated terminal with same root user at same directory where I was already.

Just root user is needed by default on new duplicated terminal at same directory.

1 Answers1

2

Just launch a new terminal. The default terminal on Ubuntu is gnome-terminal. If you launch a new one, it will start as the user who launched it and in the directory it was launched from.

So, if you're already logged in as root and are visiting, for example, /etc, you can run gnome-terminal & (the & is just to send it to the background) and a new terminal will appear, running as root and in /etc.

terdon
  • 104,119