Cloud and DevOps · Beginner · Free
Linux and Git: 40 Commands, Hands-On
Master the 20 Linux and 20 Git commands people use every day, by typing them in a safe practice terminal that shows you what each one does.
The terminal looks scary until you know the 40 words that do almost everything. This course teaches the 20 everyday Linux commands (ls, cd, pwd, mkdir, touch, cp, mv, rm, cat, less, grep, find, chmod, chown, ps, top, kill, df, du, curl) and the 20 everyday Git commands (init, clone, status, add, commit, push, pull, fetch, branch, switch, checkout, merge, rebase, log, diff, stash, reset, revert, cherry-pick, tag) through one story: Sam's coffee shop and its little server. Every lesson has a practice terminal you type into, with missions that check your work, and a live picture that shows your files, running programs, or Git's working folder, staging area, commit graph and GitHub copy changing as you type. Whiteboard walkthroughs, sorting drills, quizzes, flashcards and three timed tests lock it in.
- 16 lessons
- About 340 minutes
- 3 timed practice exams
- 80 flashcards
- 96 quiz questions
No sign-up needed. Your progress is saved on this device.
Course outline
0 of 16 lessons complete
Module 1 · Linux: the 20 everyday commands
- 1Start here: talking to a computer in textWhat a terminal is, how to read the prompt, and the three parts of every command.12 min
- 2Find your way: pwd, ls, cdKnow where you are, see what is there, and move between folders.18 min
- 3Make, copy, move and delete: mkdir, touch, cp, mv, rmCreate folders and files, copy and rename them, and delete safely.22 min
- 4Read and search: cat, less, grep, findShow files, page through long ones, find the lines you need and the files you lost.22 min
- 5Who may do what: chmod, chownRead permissions like rwxr-xr-x, change them with chmod, and change owners with chown.22 min
- 6Running programs: ps, top, killSee what is running, spot the program hogging the computer, and stop it.18 min
- 7Disk space and the web: df, du, curlSee how full the disks are, find what is using the space, and talk to websites and APIs.18 min
- 8Linux challenge: a busy morning on the serverUse all 20 Linux commands together on a realistic incident, then take the Linux test.25 min
Module 2 · Git: the 20 everyday commands
- 9What Git is: save points, three areas, init and statusWhy Git exists, the three places your changes live, and your first repository.16 min
- 10Save snapshots: add, commit, log, diffStage changes, make commits with good messages, read the history and compare versions.22 min
- 11Share work: clone, push, pull, fetchCopy a project from GitHub, send your commits up, and bring your teammates' work down.22 min
- 12Branches: branch, switch, checkout, mergeWork on ideas side by side without breaking the main version, then bring them together.24 min
- 13Rebase, cherry-pick and stashReplay a branch on a new base, copy one commit across, and park unfinished work.24 min
- 14Undo safely: reset, revert, checkout and tagUnstage files, drop local commits, reverse shared ones, throw away edits, and mark releases.24 min
- 15Git challenge: ship a feature from start to finishBranch, commit, push, merge, tag and clean up on your own, then take the Git test.22 min
Module 3 · Put it together