I currently use nautilus as my default file manager. When I search for some file or folder, I also need to switch to the directory that contains the particular file or folder. It feels tedious to go to the properties then copy the path and open the same path. How can I save time, could there be some shortcut to switch to the directory that contains the file (or folder) being looked upon.
I don't know about any inbuilt function that could achieve this, but you could use a simple Nautilus script:
In fact, you could even direct Nautilus to the file right away and it would still open the parent directory:
With this script Nautilus will also highlight the file within the directory.
See here for more information on installing Nautilus scripts:
You could then proceed to set up a shortcut for the script. I'd advise you skip step 2 and 4 of that answer as they don't appear to be necessary. If you named your script something like "Open parent directory" it should be easy to find it in the accels file and change the hotkey. The line should look something like this:
In this case the shortcut would be F4.
What method are you using to search? I tried "Search for Files" in Nautilus just now, and when I right click one of the search results, there's an "Open Containing Folder" option that launches the file's folder in Nautilus (with the file highlighted). Is this what you want? If not, what's missing?