When I am in Gnome terminal, I create a new Gnome terminal tab by Ctrl+Shift+t.

If I am under a symlink dir1to a directory dir2 in a gnome terminal tab, then I will be under the linked directory dir2 rather than under dir1, after the above creation of a new tab.

I wonder how to create a new tab, so that I could still be under the symlink, rather the linked directory?

  • a hard link cannot link to a directory
    – Tim
    Dec 4 '14 at 4:34

I assume you're using an old version of gnome-terminal (3.6 or older). In 3.8 the technical solution for figuring out the working directory was changed to a completely different method, which – among other benefits – fixed this issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.