Course
Software Engineering Foundations
The everyday tools every backend engineer uses on real servers: the Linux shell, Git and a first deploy.
1module · 23 lessons · about 2 h 2 min · all free
Start with lesson 1
Sign in to track which lessons you have finished.
01
Linux and Git commands
- The shell: what happens when you type a commandHow the shell finds and runs a program, what PATH does, and how to read a manual or --help before you guess.5 min
- The file system: pwd, ls, cd and where things liveMove around a Linux server with pwd, ls and cd, tell absolute paths from relative ones, and know what /etc, /var, /opt and /home are for.5 min
- Working with files: cp, mv, rm, mkdir, wildcards and linksCopy, move, rename, create and delete files safely, use wildcards to act on many files at once, and understand hard links versus symbolic links.5 min
- Reading and finding: cat, less, head, tail -f, grep and findRead files of any size without opening an editor, follow a log as it grows, search inside files with grep and locate files with find.4 min
- Pipes and redirection: stdin, stdout, stderr, >, >>, 2>&1, |, tee and xargsConnect commands together, save output to files, separate errors from normal output, and feed lists of names into other commands.5 min
- Text processing for logs: sort, uniq, wc, cut, sed and awkTurn a raw log file into answers: count status codes, find the busiest paths and clients, and clean or edit text from the command line.4 min
- Users and permissions: rwx, chmod, chown, sudo and umaskRead the permission string from ls -l, change it with chmod in octal and symbolic form, fix a deploy folder that your user cannot write to, and use sudo without running everything as root.6 min
- Processes: ps, top, signals, kill, jobs and nohupSee what is running on a server, find the process that is eating CPU, stop it politely or forcefully with signals, and keep a command alive after you log out.5 min
- Services and logs: systemctl and journalctlStart, stop, restart and enable services with systemctl, write a small unit file for your own app, and read its logs with journalctl.5 min
- Networking from the shell: ip, ss, curl, dig, SSH keys, scp and rsyncFind a server's address, see which process owns a port, call an API with curl, check DNS with dig, log in with SSH keys and copy files with scp and rsync.6 min
- Disks, packages and archives: df, du, apt and tarCheck how full a server's disk is and what filled it, install and inspect software with apt, and pack or unpack backups and releases with tar.5 min
- Shell scripting: variables, if, loops, exit codes and set -euo pipefailTurn the commands you have learned into a safe, repeatable script with variables, conditions, loops, functions and strict error handling, and customise your shell with .bashrc.6 min
- How Git thinks: snapshots, the working tree, the staging area and the repositoryBuild the mental model that makes every Git command make sense: snapshots instead of diffs, and the three places a change can live.5 min
- Everyday Git: init, clone, status, add, commit, log, diff and .gitignoreThe handful of Git commands you will use dozens of times a day, how to read their output, and how to keep secrets and build files out of your repository.5 min
- Branches and merging: fast-forward versus merge commitCreate and switch branches, understand that a branch is just a pointer, and see when a merge simply moves the pointer forward and when it creates a merge commit.4 min
- Resolving merge conflictsUnderstand why Git stops with a conflict, read the conflict markers, resolve a conflict by editing, and know how to back out safely.5 min
- Remotes: fetch, pull, push and upstream branchesConnect your repository to a shared one, understand the difference between fetch and pull, read ahead and behind, and fix a rejected push.5 min
- Rebase and interactive rebaseMove a branch onto a newer base to keep history in a straight line, clean up messy commits with interactive rebase, and decide when to rebase and when to merge.6 min
- Undoing things: restore, reset, revert and reflogPick the right undo for each situation, understand soft, mixed and hard reset, use revert on shared history, and recover lost commits with the reflog.6 min
- stash, cherry-pick and tagsPut half-finished work aside with stash, copy a single commit to another branch with cherry-pick, and mark releases with tags.6 min
- Team workflow: pull requests, trunk-based versus Git Flow, and good commit messagesHow a change travels from your laptop to production on a team, the two most common branching strategies, and how to write commit messages your teammates will thank you for.6 min
- Inside .git: blobs, trees, commits, refs and HEADOpen the hidden .git folder and see that Git is a simple content-addressed store of four object types plus a few pointer files.6 min
- Capstone: deploy a small app to a Linux server over SSH with GitPut the whole module to work by shipping a tagged release to a server, checking that it is healthy, and rolling back when it is not.7 min