SEARCH

How-To Geek

How to Open Terminal to a Specific Folder in Ubuntu’s File Browser

00_lead_image_opening_terminal_window

There may be times when you’re working with files in Ubuntu’s File Browser, Nautilus, and you want to switch to working on the command line in Terminal. Instead of manually navigating to the same folder in Terminal, you can easily jump directly to that folder.

We’ll show you how to add an “Open in Terminal” option to the context, or right-click, menu in Nautilus that allows you to open a Terminal window directly to the folder selected in Nautilus.

NOTE: When we say to type something in this article and there are quotes around the text, DO NOT type the quotes, unless we specify otherwise.

To install the “Open in Terminal” option in the Nautilus context menu, press Ctrl + Alt + T to open Terminal. Type the following command at the prompt and press Enter.

sudo apt-get install nautilus-open-terminal

Type your password when prompted and press Enter.

01_installing_nautilus_open_terminal

When the installation is finished, type “exit” at the prompt and press Enter.

02_closing_terminal_window

To open Nautilus, click the Files icon on the Unity bar.

03_opening_file_manager

Navigate to the desired folder using the left pane in Nautilus. Right-click on the folder in the right pane and select Open in Terminal from the popup menu.

04_selecting_open_as_terminal

A Terminal window opens with the prompt indicating you are in the folder you selected in Nautilus.

05_directory_open_in_terminal_window

This makes it easier if you need to jump to Terminal to perform operations on files that are more easily done on the command line.

Lori Kaufman is a freelance technical writer who likes to write geeky how-to articles to help make people's lives easier through the use of technology. She loves watching and reading mysteries and is an avid Doctor Who fan.

  • Published 07/14/14