Skip to content
BENIBIX Learn

Learn Linux Command Line

How to type your way around a Linux machine. Ten lessons start with the terminal, the shell, pipes and the help pages. Then come folders, the root user, sudo and file permissions. The last ones cover adding software with apt, keeping programs running with systemd, running jobs on a timer with cron, and shutting out strangers with UFW. It assumes nothing. It stops at the command line. Renting a server and logging in to it are separate subjects.

Not started

0 of 10 lessons done

10 lessons4 sections~2 h35 termsSee the wordsBasic

Level 1 · Typing commands

score0300/8 words

The window, the program that reads your line, and how to chain commands. Where help lives, and the values every program can read.

  1. Terminal and Shell BasicsWhat the command line is, and how the terminal and the shell split the work. Why most servers run Linux and are used by typing, not clicking.10 min5 terms
  2. Pipes and man PagesHow to read the built-in help for any command with man. How the | sign joins small commands into one line that does a bigger job.10 min2 terms
  3. Environment VariablesWhat an environment variable is, how to set and read one, and why apps keep passwords in them. What PATH does, and why a value can vanish.10 min1 terms

Level 2 · Files, users and permissions

score30600/13 words

Moving around the folders. The one user who can do anything, and the rules for who may read, change or run a file.

  1. The Linux File TreeHow Linux folders hang from one root, written as a slash. How to move around with pwd, cd and ls, and why some files are hidden.12 min7 terms
  2. Root User and sudoWho the root user is and why it can change anything. How sudo runs one command as root, and why you should not log in as root at all.10 min2 terms
  3. Linux File PermissionsHow to read rw-r--r-- and 644. Who the owner, group and others are. How chmod and chown change who may read, write or run a file.13 min4 terms

Level 3 · Software and services

score60800/6 words

Adding and updating programs with one command. Keeping the ones that run in the background alive, and reading what they say.

  1. APT and .deb PackagesHow apt adds, updates and removes software on Ubuntu. What a .deb file is, and how safety fixes can install themselves each day.11 min3 terms
  2. systemd and DaemonsWhat a daemon is and how systemd starts, stops and restarts it. How to read a service's log with journalctl when something goes wrong.12 min3 terms

Level 4 · Timed jobs and the firewall

score801000/8 words

Running a command on a plan with no one there. Closing every door the machine does not need.

  1. Cron Jobs and SchedulesHow cron runs a command on a timer, and how to read the five fields of a line like 0 3 * * *. Why a job that works by hand can fail in cron.11 min2 terms
  2. UFW and Linux FirewallsHow UFW closes every port except the ones you allow, in short rules like allow 22. Where nftables and iptables fit underneath.12 min6 terms

Words in this course

The 35 glossary entries this course teaches, in the order it teaches them. Open any of them on its own.

Back to the top

See what comes after this course