Learn the terminal by using it.
Every lesson puts a practice terminal next to the instructions. You type every command yourself, and it checks your work as you go. Nothing you do can touch your real computer.
Start with Lesson 1
0 of 13 lessons done
Getting started
2 lessons · 22 minWorking with files
4 lessons · 46 min- 03Make files and foldersCreate folders and files, and put words in them, without leaving the terminal.
mkdirtouchcat>>>12 min - 04Copy, move and deleteRearrange your files with confidence, and delete them without regret.
cpmvrmrmdir12 min - 05Read filesLook inside files of any size: from the top, from the bottom, or by the numbers.
catheadtailwcless10 min - 06Match many files at onceUse wildcards to work with whole groups of files in a single command.
*?[ ]12 min
Power tools
2 lessons · 28 minYour system
4 lessons · 52 min- 09Permissions and scriptsRead who can do what to a file, run your own scripts, and keep private files private.
ls -lchmod./script.shsudo14 min - 10Edit files with nanoOpen, change and save any file without leaving the terminal.
nanoCtrl+OCtrl+XCtrl+K / Ctrl+U12 min - 11What’s running on your computerSee every running program, stop the ones that are stuck, and find what’s filling your disk.
ps auxkilltopdf -hdu -sh14 min - 12Work fasterReuse what you’ve typed, make your own shortcuts, and understand how the shell finds commands.
history!!alias$NAMEwhich12 min