Skip to the content.

File management is a fundamental skill for anyone working with Linux. In this guide, we’ll introduce essential concepts, tools, and commands for managing files and directories, especially for users new to Ubuntu.


Graphical File Management with Nautilus

Ubuntu’s default GNOME desktop environment includes Nautilus, a graphical file manager designed to make browsing and managing files intuitive. With Nautilus, users can:


Why Learn Terminal-Based File Management?

While GUI tools like Nautilus are useful, the terminal offers more power, precision, and speed. It also becomes essential when working with remote servers or performing advanced administrative tasks. Understanding how to manage file permissions from the terminal is especially important for securing files and controlling access.


Understanding Linux File Permissions

Linux file permissions are based on a simple model involving three types of users:

Each of these can have read (r), write (w), and execute (x) permissions.

Example

-rwxr-xr– 1 user group 1234 Jul 27 10:15 script.sh

In this case:


Using the chmod Command

The chmod (change mode) command lets you modify these permissions. You can use symbolic or numeric (octal) notation.

Symbolic Mode Examples:

chmod +x filename

chmod g-w filename

Numeric Mode Examples:

Full access for owner, read and execute for group, and read-only for others: chmod 754 filename

Simply add numbers together to get cumulative permissions.

File Permissions

Here is a quick reference on the Linux Numeric File Permissions.