Ubuntu File Explorer
Introduction
The Ubuntu File Explorer, officially named "Nautilus" (also called "Files"), is the default graphical file manager for the Ubuntu operating system. It provides a user-friendly interface for navigating, organizing, and manipulating files and directories on your system. For beginners transitioning from Windows or macOS, understanding how to effectively use the Ubuntu File Explorer is essential for productive work in the Linux environment.
This guide will walk you through the basics of using Nautilus, its key features, and how to perform common file management tasks efficiently.
Getting Started with Nautilus
Launching the File Explorer
There are several ways to open the Ubuntu File Explorer:
- Click on the Files icon in the dock (looks like a file cabinet)
- Press the
Super
key (Windows key) and type "Files" or "Nautilus" - Use the keyboard shortcut
Ctrl+Alt+F
orSuper+E
- From the terminal, run the command:
nautilus
Understanding the Interface
When you first open Nautilus, you'll see an interface with these main components:
- Sidebar/Places Pane: Shows bookmarked locations, devices, and network locations
- Address/Location Bar: Shows your current location in the file system
- Main Content Area: Displays files and folders in the current location
- Status Bar: Shows information about selected items or available space
- Menu and Actions: Contains buttons for common actions and the hamburger menu
Navigation Basics
Navigating Through Folders
- Double-click on a folder to open it
- Use the Back and Forward buttons to move through your browsing history
- The Up button takes you to the parent directory
- Use the breadcrumb trail in the address bar to jump to specific locations in your path
Location Entry
To directly enter a file path:
- Click on the address bar or press
Ctrl+L
- Type the desired path, for example:
/home/username/Documents
- Press
Enter
to navigate to that location
Using the Places Sidebar
The sidebar provides quick access to common locations:
- Recent: Files you've recently accessed
- Home: Your personal directory (
/home/username
) - Documents, Downloads, Music, etc.: Standard user folders
- Computer: Shows the root file system and mounted devices
- Network: Network shares and connected servers
File Management Basics
Selecting Files and Folders
- Click on a file/folder to select it
Ctrl+click
to select multiple non-adjacent itemsShift+click
to select a range of itemsCtrl+A
to select all items in the current view
Copy, Cut, and Paste
- Copy: Select item(s) and press
Ctrl+C
(or right-click → Copy) - Cut: Select item(s) and press
Ctrl+X
(or right-click → Cut) - Paste: Navigate to the destination and press
Ctrl+V
(or right-click → Paste)
Creating New Items
- New Folder: Press
Ctrl+Shift+N
or right-click → New Folder - New Document: Right-click → New Document → Empty Document
Renaming Files and Folders
- Select the item you want to rename
- Press
F2
(or right-click → Rename) - Type the new name and press
Enter
Deleting Files and Folders
- Select the item(s) you want to delete
- Press
Delete
to move to Trash (or right-click → Move to Trash) - Press
Shift+Delete
for permanent deletion (bypassing Trash)
To empty the Trash:
- Click on "Trash" in the sidebar
- Click the "Empty Trash" button
Advanced Features
View Options
Nautilus offers multiple ways to view your files:
- Icon View: Press
Ctrl+1
or click the grid icon - List View: Press
Ctrl+2
or click the list icon - Compact View: Available from the View menu
To change sorting options, right-click in the empty space and select "Sort By" or use the dropdown in the toolbar.
Search Functionality
To search for files:
- Press
Ctrl+F
or click the search icon - Type your search term
- Use filters (click on the filter icon) to narrow results by type, date, etc.
Example search query for Python files modified in the last week:
*.py modified:week
File and Folder Properties
To view detailed information about a file or folder:
- Select the item
- Press
Alt+Enter
or right-click → Properties - The Properties dialog shows size, permissions, modification dates, etc.
Bookmarking Locations
To bookmark a frequently used location:
- Navigate to the folder you want to bookmark
- Press
Ctrl+D
or click Bookmarks → Bookmark this Location - The bookmark will appear in the sidebar under "Bookmarks"
Tabs and Windows
- Open a new tab:
Ctrl+T
- Open a new window:
Ctrl+N
- Close a tab:
Ctrl+W
- Switch between tabs:
Ctrl+Tab
orCtrl+Page Up/Down
Terminal Integration
Opening Terminal in Current Location
To open a terminal in your current folder:
- Right-click in the empty space
- Select "Open in Terminal"
Or use the keyboard shortcut F4
Running Commands on Selected Files
You can drag and drop files from Nautilus to a terminal window to automatically insert their file paths into commands.
Example scenario:
- Open Nautilus and navigate to a folder containing Python scripts
- Open Terminal
- Type
python3
(with a space after) - Drag a Python file from Nautilus to the Terminal
- The full path will be inserted; press Enter to run the script
Customizing Nautilus
Preferences Settings
Access preferences through the hamburger menu → Preferences. Here you can customize:
- Default view options (icon size, sorting, etc.)
- Behavior for single/double clicks
- Preview settings for files
- List view columns
Adding Extensions
Nautilus can be extended with additional features. Some useful extensions include:
nautilus-admin
: Adds admin actions like "Open as Administrator"nautilus-image-converter
: Image resizing and conversion toolsnautilus-terminal
: Embeds a terminal within the file browser
To install extensions, use apt:
sudo apt install nautilus-admin nautilus-image-converter
After installation, you may need to restart Nautilus:
nautilus -q
Practical Examples
Example 1: Organizing a Programming Project
Let's say you're creating a new web development project:
- Open Nautilus and navigate to your Projects folder
- Create a new folder:
Ctrl+Shift+N
, name it "WebProject" - Inside WebProject, create subfolders:
- css
- js
- images
- docs
- Create initial files by right-clicking → New Document → Empty Document
- index.html
- style.css (move to css folder)
- script.js (move to js folder)
- Bookmark the WebProject folder:
Ctrl+D
Example 2: Bulk File Operations
Scenario: You need to organize photos from a recent trip.
- Navigate to your Downloads folder where the photos are
- Use search (
Ctrl+F
) to find all image files:*.jpg OR *.png
- Create a new folder called "Trip_Photos"
- Select all relevant photos:
Ctrl+click
each one, or useShift+click
for ranges - Copy the selected files:
Ctrl+C
- Navigate to the "Trip_Photos" folder
- Paste the files:
Ctrl+V
- Use "Rename" option to batch rename them (select multiple files → right-click → Rename)
Example 3: Working with Archives
To create and extract archive files:
Creating a zip archive:
- Select files you want to archive
- Right-click and select "Compress..."
- Choose format (zip, tar.gz, etc.) and location
- Click "Create"
Extracting an archive:
- Right-click on the archive file
- Select "Extract Here" or "Extract To..." for more options
File Permissions in Nautilus
Ubuntu, like all Linux systems, uses a permission system to control access to files. In Nautilus, you can view and modify these permissions:
- Select a file or folder
- Right-click and select "Properties"
- Go to the "Permissions" tab
Here you can set:
- Who can access the file (Owner, Group, Others)
- What they can do (Read, Write, Execute)
Example: Making a script executable:
- Right-click your script file (e.g.,
myscript.sh
) - Select Properties → Permissions
- Check the "Allow executing file as program" box
- Close the dialog
Summary
The Ubuntu File Explorer (Nautilus) is a powerful yet user-friendly tool for managing files in the Ubuntu operating system. In this guide, we've covered:
- Basic navigation and interface elements
- File management operations (copy, move, rename, delete)
- Advanced features like search, properties, and bookmarks
- Terminal integration
- Customization options
- Practical examples for real-world scenarios
These skills will help you efficiently manage your files and folders while working in Ubuntu. As you become more comfortable with Nautilus, you'll find that many operations can be performed quickly using keyboard shortcuts and context menus.
Additional Resources
For further learning:
- Use
man nautilus
in the terminal for the complete manual - Practice the keyboard shortcuts to improve efficiency
- Explore the Extensions system to customize Nautilus to your needs
Practice Exercises
- Create a folder structure for organizing study materials with subfolders for different subjects
- Practice searching for all files modified in the last 24 hours
- Try customizing your file browser with different view options and sorting methods
- Create a zip archive of a project folder, then extract it to a different location
- Add custom bookmarks for folders you access frequently
If you spot any mistakes on this website, please let me know at [email protected]. I’d greatly appreciate your feedback! :)