How to Fix Low Disk Space Issues on Ubuntu Linux
In Ubuntu Linux, the terminal is a text-based interface that allows users to interact directly with the operating system.
While graphical user interfaces (GUIs) rely on icons, windows, and mouse interactions, the terminal operates through typed commands that instruct the system to perform specific tasks.
Although Ubuntu provides a user-friendly desktop environment by default, many core system functions are handled through the terminal.
Tasks such as file management, software installation, system monitoring, and configuration changes are often more transparent when performed from the command line.
There are several ways to open the terminal in Ubuntu:
Keyboard shortcut: Ctrl + Alt + T
Search for “Terminal” in the application menu
Right-click inside a folder and select “Open in Terminal”
Once opened, the terminal typically displays a prompt similar to:
user@hostname:~$
This prompt shows the current username, the system’s hostname, and the working directory.
Most Ubuntu terminal commands follow a simple structure:
command [options] [arguments]
Command: The operation to be performed
Options: Modifiers that change command behavior
Arguments: Files, directories, or other input values
Example:
ls -l
This command lists files in the current directory using a detailed format.
pwd
The pwd command displays the full path of the current working directory.
![]() |
| pwd command |
ls
Common options include:
ls -l: Shows detailed file information
ls -a: Includes hidden files
![]() |
| ls command |
cd directory_name
Useful variations:
cd .. : Move to the parent directory
cd ~ : Return to the home directory
mkdir example_folder
![]() |
| mkdir command |
touch example.txt
rm filename
rm -r foldername
The -r option allows recursive deletion of directories and their contents.
cp source destination
mv source destination
The mv command can also be used to rename files.
cat filename
less filename
This is useful for reading longer text files.
head filename
tail filename
These commands display the beginning or end of a file, commonly used for logs or configuration files.
Ubuntu is a multi-user operating system. Every file and directory has ownership and permission settings.
ls -l
Permissions are shown in a format such as rwxr-xr--, representing read, write, and execute access.
r: read
w: write
x: execute
![]() |
| ls -l command |
sudo command
The sudo command allows a user to run a command with temporary administrative privileges.
Ubuntu uses the apt package management system.
sudo apt update
sudo apt install package_name
sudo apt remove package_name
These commands form the foundation of software management in Ubuntu.
df -h
![]() |
| df command |
free -h
![]() |
| free command |
top
These commands provide text-based insights into system status and resource usage.
The terminal may initially appear complex, but it enables efficient handling of repetitive tasks and provides consistent control across different Linux environments.
It is especially useful in server setups, remote connections, or systems without graphical interfaces.
Understanding the Ubuntu terminal helps users better grasp file systems, process management, and system permissions, skills that are transferable to many Linux-based platforms.
The Ubuntu terminal is more than just a simple command-entry tool.
It serves as an interface that provides direct access to the core functionality of the operating system.
By understanding how to use basic commands, users can manage files, monitor system status, and control software more efficiently.
In addition, learning how to use the terminal enables users to take advantage of shell scripting, advanced command usage, and system automation.