Open a File Browser from Your Current Command Prompt or Terminal Directory

  1. Type “open” and hit enter.
  2. The open command will open a file browser on your computer.
  3. If you’re using a Windows computer, you’ll see the following window:
  4. If you’re using a Mac, you’ll see the following window:
  5. In either case, type in the name of the file you want to open and hit enter to start browsing it.

This same tip works in more than one operating system, so we’ll detail how to do it in every way we know how.

Open a File Browser in Windows

We’ve actually covered this before when we told you how to open an Explorer window from the command prompt’s current directory, but we’ll briefly review: Just type the follow command into your command prompt:

Note: You could actually just type “start .” instead.

And you’ll then see a file browsing window set to the same directory you were previous at. And yes, this screenshot is from Vista, but it works the same in every version of Windows.

If that wasn’t good enough, you should really read how you can navigate in the File Open/Save dialogs with just the keyboard—now that’s a Stupid Geek Trick!

Open a File Browser in Linux

For this exercise, we’re going to assume that you’re using Gnome under a Linux flavor like Ubuntu, because that’s the most common. From your terminal window, just type in the following command:

And the next thing you know, you’ll have a file browser window open at the current location. You’ll see some type of error message at the prompt, but you can pretty much ignore that.

You can also use “gnome-open .” if you want.

Open Finder in Mac OS X

All the Mac computers in this office are running Linux, so we haven’t had a chance to verify, but you should be able to use the following command on OS X to open Finder in the current terminal location:

Open Dolphin on Linux KDE4

Got any extra tips to help out your fellow readers? How do you do the same thing in KDE3? What about OS X? Leave your savvy advice in the comments, and maybe we’ll update the article. Or not. Either way, it’ll help somebody!