Sikau

Learn Linux and the shell

The command line every server speaks: files, pipes, permissions and scripts.

Drive a Linux machine from the terminal. Navigate and manage files, combine grep, sort, sed and awk with pipes, control permissions and processes, configure your environment, write Bash scripts and run services with systemd and cron — on a practice Ubuntu machine in your browser.

Beginner · 16 lessons · about 9 hours · free

Start Linux and the shell free: run real code in your browserright here

Continue with Google

What you will learn

Unit 1: Getting around

The terminal, paths, files and folders, reading and finding.

  1. Day 1Meet the terminalThe shell, commands, options, arguments and help.20 min
  2. Day 2Finding your wayThe filesystem tree, absolute and relative paths, cd.25 min
  3. Day 3Creating, copying and deletingmkdir, touch, cp, mv, rm and brace expansion.30 min
  4. Day 4Reading and finding filescat, head, tail, wc, file, globs and find.30 min
  5. Day 5Project: Tidy the Downloads folderGlobs, mkdir, mv and rm on a messy folder.35 min

Unit 2: Text power tools

Redirection, pipes, grep, sort and uniq, sed and awk.

  1. Day 6Redirection and pipesstdout, stderr, >, >>, <, 2>&1, | and tee.30 min
  2. Day 7Searching text with grepgrep options and regular expressions.30 min
  3. Day 8Slicing and countingcut, sort, uniq, tr, head and wc in pipelines.30 min
  4. Day 9sed and awkFind-and-replace with sed; columns and sums with awk.35 min
  5. Day 10Project: Log detectiveAnalyse a web server access log and write a report.45 min

Unit 3: Running the system

Permissions, processes, environment, scripting and servers.

  1. Day 11Users and permissionsrwx, chmod, chown, sudo and groups.35 min
  2. Day 12Processesps, top, kill, signals and background jobs.30 min
  3. Day 13Environment and shell configVariables, export, PATH, aliases and ~/.bashrc.30 min
  4. Day 14Shell scriptingShebang, arguments, if, loops, functions and exit codes.45 min
  5. Day 15Running a serverapt, systemctl, journalctl, disk space, cron and SSH keys.40 min
  6. Day 16Capstone: Health check and deployA strict-mode script with checks, logging, restarts and cron.50 min

Before you start

These courses make Linux and the shell easier:

See all courses

Built with ❤️ by dibe.sh