Menu

Log in

Sign up

From beginner to master of web design, coding, infrastructure operation, business development and marketing

  • COURSES
  • HTML & CSS Introduction
  • HTML & CSS Coding with AI
  • Linux Introduction
  • Docker Basics
  • Git & GitHub Introduction
  • JavaScript Coding with AI
  • Django Introduction
  • AWS Basics
  • Figma Introduction
  • SEO Tutorial for Beginners
  • SEO with AI
  • OTHERS
  • About
  • Terms of Service
  • Privacy Policy

© 2024 D-Libro. All Rights Reserved

Linux Introduction

Linux Introduction

Master Linux Basics - Linux Foundation Training for Beginners

Begin your journey & master Linux with our Linux course for beginners.
Our Linux foundation training provides the pathway to enhance your skills. Start your course online now for a solid foundation.

Start Chapter 1

Chapter 1. Linux Basics

11 lessons

Chapter Information

Exploring Linux Basics: Key Concepts & More

Chapter 1. Linux Basics

Understanding the Role of Operating Systems

What Is OS?

Comparing Command-Line and Graphical Interfaces

CUI and GUI

Overview of Linux Distributions

Linux Distributions

Introduction to Package Managers

Package Manager

Exploring the Kernel and Shell in Linux

Kernel and Shell

Understanding Current Working Directory

Current Working Directory

Navigating the Linux Directory Structure

Linux Directory Structure

Absolute vs Relative Paths in Linux

Absolute Path and Relative Path (Linux OS)

How to Do Linux Command Syntax

Linux Command Syntax

Handling Special Characters in Linux

Special Characters and Escape Character

Exploring Linux Basics: Key Concepts & More

Chapter 1. Linux Basics

Understanding the Role of Operating Systems

What Is OS?

Comparing Command-Line and Graphical Interfaces

CUI and GUI

Overview of Linux Distributions

Linux Distributions

Introduction to Package Managers

Package Manager

Exploring the Kernel and Shell in Linux

Kernel and Shell

Understanding Current Working Directory

Current Working Directory

Navigating the Linux Directory Structure

Linux Directory Structure

Absolute vs Relative Paths in Linux

Absolute Path and Relative Path (Linux OS)

How to Do Linux Command Syntax

Linux Command Syntax

Handling Special Characters in Linux

Special Characters and Escape Character

Chapter 2. Linux Key Commands

18 lessons

Chapter Information

Essential Linux Key Commands

Chapter 2. Linux Key Commands

Setting Up Linux Environment on AWS

Setting Up Linux Environment on AWS

Understanding pwd Command in Linux

pwd (Print Working Directory)

How to Use cd Command in Linux

cd (Change Directory)

Utilizing ls Command in Linux

ls (List Contents of Directory)

Creating Directories with mkdir Command

mkdir (Make Directory)

Deleting Directories with rmdir Command

rmdir (Remove Directory)

Creating and Modifying Files with touch Command

touch (Create File)

Deleting Files with rm Command

rm (Remove File)

Moving Files and Directories with mv Command

mv (Move File and Directory)

Copying Files and Directories with cp Command

cp (Copy File and Directory)

Viewing File Contents with cat Command

cat (Display File Content)

Sorting File Contents with sort Command

sort (Sort File Contents)

How to Use grep Command in Linux

grep (Global Regular Expression Print)

Understanding Regular Expression in Linux

Regular Expression

Exploring find Command in Linux

find (Find File and Directory)

Working with Wildcards in Linux

Wildcard

Managing Links with ln Command in Linux

ln (Create Link to File and Directory)

Essential Linux Key Commands

Chapter 2. Linux Key Commands

Setting Up Linux Environment on AWS

Setting Up Linux Environment on AWS

Understanding pwd Command in Linux

pwd (Print Working Directory)

How to Use cd Command in Linux

cd (Change Directory)

Utilizing ls Command in Linux

ls (List Contents of Directory)

Creating Directories with mkdir Command

mkdir (Make Directory)

Deleting Directories with rmdir Command

rmdir (Remove Directory)

Creating and Modifying Files with touch Command

touch (Create File)

Deleting Files with rm Command

rm (Remove File)

Moving Files and Directories with mv Command

mv (Move File and Directory)

Copying Files and Directories with cp Command

cp (Copy File and Directory)

Viewing File Contents with cat Command

cat (Display File Content)

Sorting File Contents with sort Command

sort (Sort File Contents)

How to Use grep Command in Linux

grep (Global Regular Expression Print)

Understanding Regular Expression in Linux

Regular Expression

Exploring find Command in Linux

find (Find File and Directory)

Working with Wildcards in Linux

Wildcard

Managing Links with ln Command in Linux

ln (Create Link to File and Directory)

Chapter 3. Vim Editor

12 lessons

Chapter Information

How to Use Vim Editor for Text Editing on Linux

Chapter 3. Vim Editor

Getting Started with Vim Text Editor in Linux

What Is Vim and How to Launch It?

Exploring Modes in Vim Editor on Linux

Normal, Insert and Visual Mode

How to Use Cursor in Vim Editor Normal Mode

Normal Mode (1) – Move Cursor

Deleting Text in Vim Editor Normal Mode

Normal Mode (2) – Delete

Copying and Pasting in Vim Editor Normal Mode

Normal Mode (3) – Copy and Paste

Undoing and Redoing Actions in Vim Editor

Normal Mode (4) – Undo and Redo

Searching Phrases in Vim Editor Normal Mode

Normal Mode (5) – Search Phrase

Replacing Phrases in Vim Editor Normal Mode

Normal Mode (6) – Replace Phrase

Saving and Exiting Vim Editor Normal Mode

Normal Mode (7) – Save and Exit

Introduction to Insert Mode in Vim Editor

Insert Mode

Introduction to Visual Mode in Vim Editor

Visual Mode

How to Use Vim Editor for Text Editing on Linux

Chapter 3. Vim Editor

Getting Started with Vim Text Editor in Linux

What Is Vim and How to Launch It?

Exploring Modes in Vim Editor on Linux

Normal, Insert and Visual Mode

How to Use Cursor in Vim Editor Normal Mode

Normal Mode (1) – Move Cursor

Deleting Text in Vim Editor Normal Mode

Normal Mode (2) – Delete

Copying and Pasting in Vim Editor Normal Mode

Normal Mode (3) – Copy and Paste

Undoing and Redoing Actions in Vim Editor

Normal Mode (4) – Undo and Redo

Searching Phrases in Vim Editor Normal Mode

Normal Mode (5) – Search Phrase

Replacing Phrases in Vim Editor Normal Mode

Normal Mode (6) – Replace Phrase

Saving and Exiting Vim Editor Normal Mode

Normal Mode (7) – Save and Exit

Introduction to Insert Mode in Vim Editor

Insert Mode

Introduction to Visual Mode in Vim Editor

Visual Mode

Chapter 4. User, Group and Permission

21 lessons

Chapter Information

Managing User, Group, and Permissions in Linux

Chapter 4. User, Group and Permission

Understanding User, Group, and Permissions in Linux

What Are User, Group And Permission in Linux?

Exploring Permission Modes in Linux

Permission (Access Mode) by Owner Status

Superuser vs. Normal User in Linux

Superuser (Root User) vs. Normal User

Executing Commands with Superuser Privileges

sudo (Run Command with Superuser Privileges)

Switching Users in Linux

su (Switch User)

Adding Users in Linux

useradd (Add User)

Managing User Passwords in Linux

passwd (Set Password)

Removing Users from Linux

userdel (Delete User)

Exploring User Groups in Linux

Group – Primary Group and Secondary Group

Creating User Groups in Linux

groupadd (Add Group)

Modifying User Profile with usermod Command

usermod (Modify User Account Information)

Managing Group Membership with gpasswd Command

gpasswd (Add and Delete Users to Group)

Deleting Groups with groupdel Command

groupdel (Delete Group)

Changing File and Directory Owners with chown Command

chown (Change Owner of File and Directory)

Changing File and Directory Groups with chgrp Command

chgrp (Change Group of File and Directory)

Modifying Access Modes with chmod Command

chmod (Change Access Mode)

Efficient Access Mode Management with chmod Command

chmod Command with Numbers

Checking User Login Status with w and who Commands

w and who (Check Current User Login Status)

Verifying User ID and Group Information with id Command

id and groups (Check User ID and Group)

Displaying User and Group Data with getent Command

getent (Display User and Group Data)

Managing User, Group, and Permissions in Linux

Chapter 4. User, Group and Permission

Understanding User, Group, and Permissions in Linux

What Are User, Group And Permission in Linux?

Exploring Permission Modes in Linux

Permission (Access Mode) by Owner Status

Superuser vs. Normal User in Linux

Superuser (Root User) vs. Normal User

Executing Commands with Superuser Privileges

sudo (Run Command with Superuser Privileges)

Switching Users in Linux

su (Switch User)

Adding Users in Linux

useradd (Add User)

Managing User Passwords in Linux

passwd (Set Password)

Removing Users from Linux

userdel (Delete User)

Exploring User Groups in Linux

Group – Primary Group and Secondary Group

Creating User Groups in Linux

groupadd (Add Group)

Modifying User Profile with usermod Command

usermod (Modify User Account Information)

Managing Group Membership with gpasswd Command

gpasswd (Add and Delete Users to Group)

Deleting Groups with groupdel Command

groupdel (Delete Group)

Changing File and Directory Owners with chown Command

chown (Change Owner of File and Directory)

Changing File and Directory Groups with chgrp Command

chgrp (Change Group of File and Directory)

Modifying Access Modes with chmod Command

chmod (Change Access Mode)

Efficient Access Mode Management with chmod Command

chmod Command with Numbers

Checking User Login Status with w and who Commands

w and who (Check Current User Login Status)

Verifying User ID and Group Information with id Command

id and groups (Check User ID and Group)

Displaying User and Group Data with getent Command

getent (Display User and Group Data)

Chapter 5. Redirection, Pipe and Shell Script

12 lessons

Chapter Information

Understanding Redirection, Pipe, and Shell Scripting

Chapter 5. Redirection, Pipe and Shell Script

Managing Standard Input and Output with Redirection

Standard Input Output and Redirection

Combining Commands with Pipe

Pipe (Combine Commands)

Viewing Text Content with less Pager

less (Display Content with Pager)

Character Replacement with tr Command

tr (Replace Characters)

Data Section Extraction with cut Command

cut (Extract Data Sections)

Identifying Unique Data Lines with uniq Command

uniq (Extract Unique Data Lines)

Introduction to Shell Scripting

Shell Script

Displaying Text with echo Command

echo (Echo input)

Input Reading and Variable Storage with read Command

read (Read and Store Input)

Shell and Environmental Variables in Linux

Shell Variable and Environmental Variable

Execute Shell Scripts with source

source (Execute Shell Script and Refresh Environmental Variables)

Understanding Redirection, Pipe, and Shell Scripting

Chapter 5. Redirection, Pipe and Shell Script

Managing Standard Input and Output with Redirection

Standard Input Output and Redirection

Combining Commands with Pipe

Pipe (Combine Commands)

Viewing Text Content with less Pager

less (Display Content with Pager)

Character Replacement with tr Command

tr (Replace Characters)

Data Section Extraction with cut Command

cut (Extract Data Sections)

Identifying Unique Data Lines with uniq Command

uniq (Extract Unique Data Lines)

Introduction to Shell Scripting

Shell Script

Displaying Text with echo Command

echo (Echo input)

Input Reading and Variable Storage with read Command

read (Read and Store Input)

Shell and Environmental Variables in Linux

Shell Variable and Environmental Variable

Execute Shell Scripts with source

source (Execute Shell Script and Refresh Environmental Variables)

Chapter 6. Commands for Command Management

7 lessons

Chapter Information

Managing Commands in Linux

Chapter 6. Linux Commands for Command Management

Viewing Command History with history

history (Check Command History)

Creating Command Shortcuts with alias

alias (Create Command Shortcuts)

Accessing Command Manuals with man

man (Display Manual)

Retrieving Command Information with type

type, which and whereis (Display Command Information)

Managing Packages with Package Manager

Package Manager Command

Displaying Directory Structures with tree

tree (Display Directory Tree)

Managing Commands in Linux

Chapter 6. Linux Commands for Command Management

Viewing Command History with history

history (Check Command History)

Creating Command Shortcuts with alias

alias (Create Command Shortcuts)

Accessing Command Manuals with man

man (Display Manual)

Retrieving Command Information with type

type, which and whereis (Display Command Information)

Managing Packages with Package Manager

Package Manager Command

Displaying Directory Structures with tree

tree (Display Directory Tree)

Chapter 7. SSH Remote Connection

11 lessons

Chapter Information

Exploring SSH Remote Connection in Linux

Chapter 7. SSH Remote Connection

Introduction to SSH in Linux

SSH (Secure Shell)

Understanding the .ssh Directory

Locate .ssh Directory

SSH Remote Login: Using Server-Generated Key Pair

SSH Remote Login (1) – Use Key Pair Generated by Server

SSH Remote Login: Using Client-Generated Key Pair

SSH Remote Login (2) – Use Key Pair Generated by Client

Simplifying SSH with SSH Config File

SSH Config File

SSH Remote Login with Visual Studio Code

SSH Remote Login with Visual Studio Code

Secure File Transfer with SCP Protocol

SCP (Secure Copy Protocol)

Simplifying SCP with SSH Config File

SCP with SSH Config File

Secure File Transfer with SFTP Protocol

SFTP (Secure File Transfer Protocol)

Other File Transfer Commands in Linux

Other File Transfer Commands

Exploring SSH Remote Connection in Linux

Chapter 7. SSH Remote Connection

Introduction to SSH in Linux

SSH (Secure Shell)

Understanding the .ssh Directory

Locate .ssh Directory

SSH Remote Login: Using Server-Generated Key Pair

SSH Remote Login (1) – Use Key Pair Generated by Server

SSH Remote Login: Using Client-Generated Key Pair

SSH Remote Login (2) – Use Key Pair Generated by Client

Simplifying SSH with SSH Config File

SSH Config File

SSH Remote Login with Visual Studio Code

SSH Remote Login with Visual Studio Code

Secure File Transfer with SCP Protocol

SCP (Secure Copy Protocol)

Simplifying SCP with SSH Config File

SCP with SSH Config File

Secure File Transfer with SFTP Protocol

SFTP (Secure File Transfer Protocol)

Other File Transfer Commands in Linux

Other File Transfer Commands

Chapter 8. Process Management

16 lessons

Chapter Information

Managing Processes in Linux

Chapter 8. Linux Process Management

Process vs. Job in Linux

Process and Job

Foreground and Background Jobs

Foreground and Background Jobs

Display Jobs and Processes

jobs and ps (Display Jobs and Processes)

Linux Signals

Signals

Managing Job Life Cycle

Create, Stop and Terminate Jobs

Understanding Daemon Processes

Daemon Processes

Exploring Linux Services

What Is Service on Linux?

Introduction to systemd

Systemd

Configuring Unit Files in Linux

Unit File

Managing systemd with systemctl

Systemctl Sub-Commands

Creating Custom Unit Files

Create Custom Unit and Start at Boot

Understanding Firewalls in Linux

Firewall

Exploring UFW (Uncomplicated Firewall)

UFW (Uncomplicated Firewall)

Introduction to Web Servers in Linux

Web Server

Launching Apache Web Server on Linux

Launch Apache Web Server

Managing Processes in Linux

Chapter 8. Linux Process Management

Process vs. Job in Linux

Process and Job

Foreground and Background Jobs

Foreground and Background Jobs

Display Jobs and Processes

jobs and ps (Display Jobs and Processes)

Linux Signals

Signals

Managing Job Life Cycle

Create, Stop and Terminate Jobs

Understanding Daemon Processes

Daemon Processes

Exploring Linux Services

What Is Service on Linux?

Introduction to systemd

Systemd

Configuring Unit Files in Linux

Unit File

Managing systemd with systemctl

Systemctl Sub-Commands

Creating Custom Unit Files

Create Custom Unit and Start at Boot

Understanding Firewalls in Linux

Firewall

Exploring UFW (Uncomplicated Firewall)

UFW (Uncomplicated Firewall)

Introduction to Web Servers in Linux

Web Server

Launching Apache Web Server on Linux

Launch Apache Web Server

Linux Course for Beginners: A Comprehensive Course Guide

Who is this Linux Course for?

tab-1
  • Developers who haven’t used Linux OS before
  • Linux OS beginners who want to master basic Linux commands
  • Anyone who wants to understand Linux OS basic mechanism comprehensively

Introduction to Linux Course

Linux is the most important OS (Operating System) for servers. 96.3 percent of the top 1 million web servers are running Linux according to ZDNet. Recently, web servers have been running on the public cloud. When you host your website on the public cloud, you may still use a Linux OS virtual machine (instance) on AWS, GCP, Azure, or other public cloud infrastructure.

Learning the basics of Linux OS is very useful for all types of engineers. After going through this course, you'll be able to operate Linux OS through the command line.This course also shows actual operation examples using AWS Lightsail, which can quickly provide access to the Linux OS environment.

Throughout this course, you will learn:

  • Key functionalities of Linux OS
  • Basic Linux commands
  • Remote server operation
  • User and user group management (permission setting)
  • Process management with Linux OS

What you will achieve in this Linux course

Expected Achievement 1

Master Linux Commands

You'll master ~40 key Linux commands. You can practice them in the actual Linux environment using AWS.

Linux Environment and Linux Command

Expected Achievement 2

Manage Servers Remotely

You'll be able to operate a remote Linux server connected through SSH. You’ll also master how to use VS Code for remote Linux server operations.

Managing Remote Servers with VS Code Through SSH

Expected Achievement 3

Create Auto Running Programs

You'll build an auto-running program using a shell script through simply copying and pasting our guided code.

Creating Auto-Running Program By Code Snippet Copy and Paste

Expected Achievement 4

Master Vim Operation

You'll be able to master Vim text editor operations with our visual guide.

Learning Vim Operations

Expected Achievement 5

Understand Key Linux Functionalities

You'll fully understand important key functionalities of Linux through visual explanations.

Linux Key Concepts

How to learn Linux with this course?

Below is a guide on how to use this course effectively. You can read this part later when you start to learn relevant topics.

Command Line

In this course, we use different command line designs. When you practice, especially with remote operations, it is important to understand which command line we are talking about. Here are the different types of command line designs we are using in this course.

 
AWS Lightsail browser-based SSH client

These are covered in Chapter 2-6.

Normal user mode

-

Normal user mode

-
Terminal on Mac or Powershell on Windows or VS Code for both cases

These are covered used in Chapter 7 and 8.

Local operation (not connected to the remote server)

-

Remote operation (connected to the remote server) – normal user mode

-

Remote operation (connected to the remote server) – superuser mode

-

Sample Files

We prepared some sample files for Chapter 2, Chapter 5, Chapter 7, and Chapter 8. If you want to download the sample files for your reference, clone the repository below.

Sample Files github

Before cloning the repository, prepare the Linux Ubuntu OS environment as explained in Setting Up Linux Environment on AWS .

Once you set up the Linux Ubuntu OS environment, clone the repository.

Command Line - INPUT (for HTTPS)
git clone https://github.com/bloovee/linux-introduction.git

Or

Command Line - INPUT (for SSH)
git clone git@github.com:bloovee/linux-introduction.git

The Chapter 5 and Chapter 8 sample files contain shell scripts with absolute paths. After you clone this repository, move all directories to your home directory (ubuntu) so that shell scripts work properly with proper absolute paths.

home
└── ubuntu
    ├── README.md
    ├── dir_ch2
    ├── dir_ch5
    ├── dir_ch7_remote
    └── dir_ch8