Learn
Tools
Language
日本語
English
Current
Français
Español
Tiếng Việt
Bahasa Indonesia
Tools
Learn
Home
>
Study Articles
>
Linux Course
Linux Course
Learn the basics of the Linux command line hands-on in a browser terminal.
0/31テキスト終了(0%)
お気に入りのみ
Linux Basics
1-1
Terminal Basics — pwd, ls, cd
Take your first steps in the Linux terminal — pwd for where you are, ls to list, cd to move — running a real Linux environment live in a browser terminal.
1-2
Creating Files & Directories — mkdir, touch, cat
Make folders with mkdir, create files with touch and echo's > / >>, and check their contents with cat — all hands-on in a browser terminal.
1-3
Paths & Directory Navigation — Absolute vs Relative
Learn absolute vs relative paths, how to use the special symbols . .. ~ /, and how to read your location with pwd and ls -l — by moving around in a browser terminal.
1-4
File Operations — cp / mv / rm
Copy files with cp, move and rename with mv, delete files with rm, and remove directories with rmdir and rm -r — with their main options, hands-on in a browser terminal.
1-5
Using the Terminal Faster — Completion, History, Line Editing
Practice Tab completion, reusing history with the arrow keys and history, line editing with Ctrl-A/Ctrl-E/Ctrl-U, and history search with Ctrl-R, hands-on in a browser terminal.
1-6
Viewing Contents — cat / head / tail / wc
Show the whole file with cat, the start and end with head and tail, and count lines with wc -l — plus the log-checking flow, hands-on in a browser terminal.
1-7
Redirection — > >> < 2>
Overwrite a file with >, append with >>, feed standard input with <, and send only error output to a separate file with 2> — hands-on in a browser terminal.
1-8
Pipes — Chaining Commands
Learn how a pipe passes one command's output to the next, counting lines with wc -l, sorting with sort, and the classic sort | uniq to collapse duplicates — hands-on in a browser terminal.
1-9
Text Search — grep
Learn the basics of finding lines containing a string, plus when to use -i to ignore case, -n for line numbers, and -r for recursive search — hands-on in a browser terminal.
1-10
Finding Files — find and Wildcards
Learn how to specify many filenames at once with the * ? [] wildcards, and how find searches by name with -name and by type with -type — hands-on in a browser terminal.
1-11
Permissions — Reading Them and chmod
Learn to read the rwx notation and octal numbers in ls -l, rewrite permissions with chmod's symbolic and numeric modes, and the syntax of chown — hands-on in a browser terminal.
1-12
Environment Variables — PATH and export
Learn to reference variables with echo $VAR and env, what HOME and PATH mean, setting variables with export, and command substitution $(...) — hands-on in a browser terminal.
1-13
Chaining Commands — ; && || and Quotes
Learn sequential execution with ;, conditional execution with && (on success) and || (on failure), and how single vs double quotes differ in variable expansion — hands-on in a browser terminal.
1-14
Checking and Stopping Processes — ps / kill
Learn to list running processes with ps, check your own PID with $$, and stop a process you sent to the background with & using kill — hands-on in a browser terminal.
1-15
The Basics of the vi Text Editor
Learn to start vi, switch between normal and insert mode, return with Esc, and save with :wq or discard with :q! — hands-on in a browser terminal.
1-16
Linux Basics Summary — Command Cheat Sheet
Cross-organize the Linux basics commands — navigation, creating, operations, viewing and searching, permissions, processes, and vi — by category with diagrams and cheat tables as a starting point for review.
Linux Intermediate
2-1
Basic Regular Expressions — grep Patterns
Learn the ^ $ . * [] basic regex and grep -E / -o hands-on by running them.
2-2
Formatted Output — printf
Unlike echo, printf adds no trailing newline; learn %s/%d insertion, \t column alignment, and creating multi-line files.
2-3
sed — Substitution and Extraction
Learn sed's substitution s///, line extraction -n p, deletion /pat/d, and in-place editing -i hands-on by running them.
2-4
awk — Field Extraction
Learn awk's column extraction $1 / $NF, the -F separator, NR / NF, and pattern processing hands-on by running them.
2-5
awk — Aggregation and Reports
Learn awk's BEGIN / END, summing with s += $1, and counting with NR or { c++ } to build aggregation reports hands-on by running them.
2-6
Text-Shaping Tools — sort / uniq / cut / wc / tr / tee
Learn sorting, column extraction, and line counts with sort, uniq, cut, and wc, character translation with tr, and output splitting with tee.
2-7
xargs — Build Commands from Standard Input
Learn xargs for turning pipe output into arguments, plus -n1, -I{}, and find integration by running them hands-on.
2-8
tar — Archive and Extract
Learn the basics of uncompressed archives: bundle with tar -cf, list with -tf, and extract with -xf.
2-9
Symbolic and Hard Links — ln
Learn the difference between symbolic links (ln -s) and hard links (ln) hands-on by running them.
2-10
File Differences — diff
Check the differences between two files with diff, and learn to read the unified format that marks removed (-), added (+), and change positions (@@), hands-on.
2-11
System Info Commands — du / df / date, and more
Check disk usage with du / df, the date with date, the system and user with uname / whoami / id, and sequences and arithmetic with seq / expr, hands-on.
2-12
Your First Shell Script — Creating and Running It
Create a shell script in vi, add #!/bin/sh, make it executable with chmod +x, and run it with ./hello.sh. Illustrated and practiced in your browser.
2-13
Shell Script - Variables and Command Substitution
Assign with name=value and reference with "$name", see how single vs double quotes expand, run $(date) command substitution, do $(( )) arithmetic, and read input. Illustrated and practiced in your browser.
2-14
Shell Script - Arguments and Exit Codes
Receive ./a.sh foo bar values with $1 $2 $@ $# $0, supply a default with ${2:--}, check $? and return status with exit 0 / exit 1. Illustrated and practiced in your browser.
2-15
Shell Script - Conditionals
Test files, strings and numbers with [ -f ], [ -z ] and -lt, branch with if / elif / else, and route patterns with case. Illustrated and practiced in your browser.