Linux and the Command Line
The Linux terminal from scratch up to your own scripts: files and folders, text processing (grep, awk, sed, sort), processes, networking, archives, permissions and shell scripts. The tasks run in a real Linux that works right in your browser.
Log in to solve tasks and save your progress.
1. Command-line basics
1
The terminal: help, man, history, clear
5 XP
2
echo — printing text
10 XP
3
ls — listing files
10 XP
4
cd and pwd — moving between folders
10 XP
5
cat — the contents of files
10 XP
6
touch and mkdir — creating files and folders
10 XP
7
rm — deleting
10 XP
8
cp and mv — copying and moving
10 XP
9
ln — links
10 XP
10
alias — your own short commands
5 XP
2. Working with text
1
Warm-up: sort warm-up
5 XP
2
Pipes and redirection
10 XP
3
tac — lines in reverse order
10 XP
4
head and tail — the start and the end
10 XP
5
more and less — viewing page by page
5 XP
6
find — finding files
10 XP
7
Warm-up: find a word warm-up
5 XP
8
grep — searching text
10 XP
9
Warm-up: the first column warm-up
5 XP
10
awk — processing columns
10 XP
11
sort and uniq — sorting and counting
10 XP
12
sed — the stream editor
10 XP
13
cut — cutting out columns
10 XP
14
wc — counting lines, words and bytes
10 XP
3. System monitoring
4. Networking
5. Archives
6. Permissions
7. Scripts
1
Output: echo and printf
10 XP
2
Comments and the shebang
10 XP
3
Command separators: ; && ||
10 XP
4
Warm-up: read and echo warm-up
5 XP
5
Variables
10 XP
6
Warm-up: add two numbers warm-up
5 XP
7
Data types: strings and numbers
10 XP
8
Comparison operators: test
10 XP
9
Warm-up: greater than ten? warm-up
5 XP
10
Conditions: if / elif / else
10 XP
11
Choice: case
10 XP
12
Warm-up: from 1 to n warm-up
5 XP
13
Loops: for and while
10 XP
14
Functions
10 XP
15
Cron — running on a schedule
5 XP
Tasks unlock in order: solve the current one to unlock the next. Warm-ups can be skipped.