Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

Something equivalent to Windows' "cmd prompt here", that will open a gnome-terminal on a specific folder?

share|improve this question
up vote 11 down vote accepted

There is a nautilus (gnome's file manager) extension for that:


That is the package for debian. You should look in the repository of your distribution for a similar package.

share|improve this answer
As described in the documentation, after installing this package you must reload nautilus by running killall -HUP nautilus or by logging out. – Denilson Sá Feb 1 '12 at 1:51
When I installed this in CentOS 6.5 yum install nautilus-open-terminal I have there two options - "Open in Terminal" and "Open in Midnight Commander" (mc was installed before) - amazing! – Betlista Oct 3 '14 at 12:45

If you are using Nautilus as your 'File Browser', it is as simple as a few entries in nautilus-actions GUI... Any 'actions' you create are available via a right-click of the mouse, and also via the Nautilus Toolbar if you wish (and I think also via the menu).

  • ..Command: gnome-terminal
  • Parameters: --window --maximize --working-directory=%d
  • and a couple of other equally easy options.

You can get Nautilus Actions* via the command: sudo apt-get install nautilus-actions

When you have installed it, run nautilus-actions-config-tool (to get started)

... and you can use Nautilus for much more than just this script...

share|improve this answer
Using nautilus-actions allows for the option to be used not only on folders but also on files (meaning "open a terminal on the folder where this file is"). – MV. May 30 '14 at 20:49

In the absense of an installed extension, you can drag the icon for a folder to Gnome Terminal or Konsole and it will expand to the single quoted path. First type cd followed by a space, then drag the icon over and press enter. And naturally, you can use this with other commands like mv, cp, etc. I think Konsole might actually pop-up with a menu asking whether you want just the path or the full cd command saving some typing.

share|improve this answer

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.