Course · Linux

Linux Course

A real Linux system booting inside this page. Type commands, make files, break things on purpose: it all lives in your browser’s memory and can’t touch your computer. Restart and it is brand new. When you want a full distribution to play in, open the Arch Linux playground.

linux · starting…
Booting Linux…loading the kernel into a virtual PC

Tips: click the black screen and type like a normal terminal, or use the box underneath (handy on phones). Tab completes names, ↑ repeats commands, Ctrl+C stops one. Save keeps this exact machine in your browser so you can pick up later.

Lessons
Cheat sheet
pwdwhere am I
ls -lalist everything, with details
cd dirgo into a folder (cd .. up, cd ~ home)
mkdir / touchmake a folder / an empty file
cp, mv, rmcopy, move or rename, delete
cat, head, tailshow a file, its start, its end
grep word filefind lines containing a word
a | bsend a’s output into b
> / >>write / append output to a file
chmod +x fmake a file runnable
ps, killsee and stop programs
man? helpthis tiny Linux has --help on most commands
What this machine is

A virtual 32-bit PC (the v86 emulator, compiled to WebAssembly) booting a small Buildroot Linux with BusyBox: the same shell and core commands as Ubuntu or a server, minus a package manager and internet. Big distributions work the same way; this one just starts in seconds.