How to get the path of directory in ubuntu 18.04. Such as clicking on title bar in windows.


4 Answers 4


I guess you are looking for Ctrl+L. When you are in the file-browser, just press Ctrl+L and the path appears at the top.

  • 1
    yes Exactly thank you Oct 1, 2019 at 15:42
  • @Haider Yaqoob When you find an answer which is helpful, please click on the up arrowhead to its left. When you find a complete answer that solves your issue, please also click on the checkmark to show a complete solution, so other folks w/ the same issue are led there.
    – K7AAY
    Oct 1, 2019 at 18:16

Right click on the directory then properties and you can see it under "Parent folder:"


I created an extension for this. You can copy path and name:


Copy Path

  • This is a very good tool. Thank you. For me, using the Ctrl+L features is decent, but not great. I usually need to copy a path to a specific file or folder to paste elsewhere. This tool gets that done and is easy to set up. +1 Jun 1, 2022 at 15:34

To permanently enable it on the nautilus window of Ubuntu18.04, use the following command:

gsettings set org.gnome.nautilus.preferences always-use-location-entry true

But, I still have a question that on the older versions of Ubuntu, one can easily enable the path visibility/editing feature from the browser 'upload' window and easily change the path by pasting the path. Is there any way to do so directly in the new OS?

Thank you.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .