Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With the advent of the dash I can easily open a file which I do not know the location of. How can I find out where the file resides in the directory structure without using "find" or "locate" or another command line utility?

As far as I can tell, the search utility in nautilus will let me open the file but not open the folder where the file resides. This question is related to the following questions: View the folder of a selected file in the dash and Using locate to find a directory

share|improve this question
Edited in the 1st link in your question how to open the dir. of a file from the Dash. May not be exactly as you want though works well & is quite flexible – doug Dec 3 '11 at 0:22
@doug: it doesn't work but that would do what i want if it did. – krumpelstiltskin Dec 4 '11 at 0:54
OP are you still looking for an answer? If so, you may need to repost your question as this is flagged for closeure. =) – Ringtail Mar 1 '12 at 22:35
@BlueXrider: how would i repost my question? you mean, start a-new? – krumpelstiltskin Mar 2 '12 at 23:27
Retitle the question/edit the body. If you look at it, it is impossible to answer. – Ringtail Mar 3 '12 at 0:28

You can use the command locate in Terminal or if you need to search for a file on the computer, there is an easy and built-in way to do it.

Launch the Search for Files program from the Places menu. By default, this will only search your files (your home directory), but you can tell it to search in other folders with the Look in folder dropdown. This will only search on file names. If you want to search inside file, see the Beagle application.

share|improve this answer

From the way you've written your question, it sounds like you just want to know the name of the folder containing a file.

If that's the case, then you can use search in nautilus and then right click a file to select it's properties. The properties window will contain the path to the file.

If you're talking about opening the containing folder from within nautilus, that's currently not possible, as discussed in this question.

share|improve this answer
in the properties dialogue, the path to the file is truncated making it impossible to see the middle of the path! – krumpelstiltskin Dec 4 '11 at 0:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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