Super User is a question and answer site for computer enthusiasts and power users. 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

Is there a way to open a file browser window (in KDE or GNOME or some desktop environment) for a directory while your navigating directories from the terminal?

Text editors that have a GUI will open up when I run them via the command line; I just wanted to do that for certain directories when I'm roaming around.

share|improve this question

migrated from Mar 4 '10 at 16:30

This question came from our site for professional and enthusiast programmers.

In Gnome you can do

nautilus . &

The dot means current directory, and the & runs the process in the background so you can continue to use your terminal (and ctrl+c won't kill the browser).

share|improve this answer
Just to help search engine users: if you're using Ubuntu, this probably applies to you. – Nathan Long Aug 10 '10 at 17:56
It just works. Thanks. But remembering nautilus . is huge. So I added an alias in my .bashrc to alias open='nautilus .'.. Simple to remember. :) – Ashwin kumar Oct 3 '13 at 6:49
if you want a solution that works with other desktop environments besides Gnome, use xdg-open as mentioned in other answers. – Alexander Taylor Jan 25 '14 at 22:43
xdg-open my_dir
share|improve this answer

xdg-open . This alone should do the trick if you want to open the current directory, else try xdg-open /path.

share|improve this answer

MacOS 10

Open current directory: open .

share|improve this answer

You must log in to answer this question.