Frequently Used Ubuntu Linux Keyboard Shortcuts on Raspberry Pi 400

Image
Frequently Used Ubuntu Linux Keyboard Shortcuts on Raspberry Pi 400 Due to its keyboard-integrated design, the Raspberry Pi 400 is a computer that can be used immediately by installing an operating system and simply connecting the necessary cables.  When Ubuntu Linux is installed, it provides a desktop system where the graphical environment and the terminal environment naturally coexist. Ubuntu Linux can be operated using a mouse, but combining it with basic keyboard shortcuts allows users to perform everyday tasks—such as switching screens, managing applications, and using the terminal—more smoothly and comfortably.  Especially in a hardware-limited environment like the Raspberry Pi 400, reducing unnecessary mouse movement and controlling the system through keyboard input can also help users better understand how the system works. 1. Most Frequently Used Keyboard Shortcuts (Daily Use) 1.1 Super Key (Windows Key) Function : Open Activities Overview Usage Frequency : ...

Ubuntu Terminal Basics

Ubuntu Terminal Basics

Ubuntu Terminal Basics


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. 



1. How to Open the Terminal

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.



2. Understanding the Command Structure

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.



3. Navigating Directories

3.1 Check Current Directory

pwd

The pwd command displays the full path of the current working directory.

pwd command
pwd command


3.2 List Directory Contents

ls

Common options include:

  • ls -l: Shows detailed file information

  • ls -a: Includes hidden files

ls command
ls command


3.3 Change Directories

cd directory_name

Useful variations:

  • cd .. : Move to the parent directory

  • cd ~ : Return to the home directory




4. Managing Files and Directories

4.1 Create a Directory

mkdir example_folder
mkdir command
mkdir command


4.2 Create a File

touch example.txt


4.3 Delete Files and Directories

rm filename rm -r foldername

The -r option allows recursive deletion of directories and their contents.


4.4 Copy and Move Files

cp source destination mv source destination

The mv command can also be used to rename files.



5. Viewing File Contents

5.1 Display Entire File

cat filename


5.2 View Files Page by Page

less filename

This is useful for reading longer text files.


5.3 View File Headers and Footers

head filename tail filename

These commands display the beginning or end of a file, commonly used for logs or configuration files.



6. Users and Permissions Basics

Ubuntu is a multi-user operating system. Every file and directory has ownership and permission settings.

6.1 View Permissions

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
ls -l command



6.2 Using Administrative Privileges

sudo command

The sudo command allows a user to run a command with temporary administrative privileges.



7. Package Management with APT

Ubuntu uses the apt package management system.

7.1 Update Package Information

sudo apt update


7.2 Install Software

sudo apt install package_name


7.3 Remove Software

sudo apt remove package_name

These commands form the foundation of software management in Ubuntu.



8. Checking System Information

8.1 Disk Usage

df -h
df command
df command


8.2 Memory Usage

free -h
free command
free command



8.3 Running Processes

top

These commands provide text-based insights into system status and resource usage.



9. Characteristics of Terminal 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.



10. Conclusion

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.

Popular posts from this blog

Understanding Computer System

Understanding Operating Systems

Understanding System Software