
Install Ubuntu 26.04 LTS in a virtual machine, take a snapshot before any risky change, and run your first commands in the terminal. Learn why most serious data work runs on Linux — the servers, clusters, and containers that store, process, and ship data — and install software the Linux way with the package manager, confirming each install with --version. By the end you will have a disposable Linux machine of your own, safe to break and rebuild, and the two commands that start every terminal session: pwd and whoami.
Video: "How to Install Ubuntu on VirtualBox (Complete Beginner Tutorial)" by Memory.
Navigate the filesystem with pwd, ls, and cd, using absolute paths in scripts and relative paths by hand. Create, copy, move, and delete files with mkdir, cp, mv, and rm — and learn the one safety habit before any rm -r: run ls on the same target first. Chain small tools with redirection and pipes, get help with man and --help, and act on many files at once with wildcards, brace expansion, and for loops.
Video: "Linux Terminal Commands: Pipes and Redirection" by Gary Explains.
Read a permission string and set permissions with chmod and chown, and learn why a directory without execute permission is a locked room. Use sudo for one command at a time, never for ordinary data work, and set up the standard shared-data pattern: a group-owned directory with group-write permission. Find files with find, locate, and which — knowing which answers which question — and check disk space, processes, and memory with df, du, ps, and top, stopping a runaway job with kill before kill -9.
Video: "How to use chmod | Manage File Permissions in Linux" by Akamai Developers.
Search text with grep, counting matches before reading them and searching whole directories with -r. Edit streams with sed, always with -i.bak so a wrong pattern costs nothing. Build a frequency table with the cut-sort-uniq-awk counting pipeline, write regular expressions with anchors and grep -E, and extract fields from JSON with jq -r — the same pattern language across three tools.
Video: "sed, awk, and grep Unix Commands - Bash Scripting Course (pt28)" by You Suck at Programming.
Give every project its own virtual environment with venv and pip, freezing the recipe in requirements.txt so anyone can rebuild it. Run Jupyter on your own machine, where the code runs locally and the browser is only the window. Install R from CRAN, run scripts with Rscript, and when one language is not enough, build a conda environment from an environment.yml file with Miniforge and mamba — Python, R, and compiled tools together, rebuilt exactly from one file.
Video: "Python Tutorial: VENV (Mac & Linux) - How to Use Virtual Environments with the Built-in venv Module" by Corey Schafer.
Inspect a CSV before loading it — header, row count, encoding, and line endings with head, wc, and file — and develop against a small sample before running on the full file. Store a dataset in SQLite with .import and answer questions in SQL. Know when to switch from shell tools to a Python script (when the job needs real logic, like an if-statement), use csvkit when quoting matters, and judge a dataset against Wickham's three tidy-data rules before you clean it.
Video: "Importing Data With SQLite Using SQLite3 CLI" by Relational Databases and SQL for Beginners.
Write your first bash script with a shebang, variables, and arguments, quoting every variable. Schedule it with cron — and learn why cron's minimal environment breaks commands that work in your terminal. Harden it with exit codes, set -e, and logging, so a failure stops loudly and leaves a trail. Know when to use a systemd timer instead (a missed run must not be lost), lint with ShellCheck, debug with set -x, and run independent jobs in parallel with xargs -P — each job's output to its own file.
Video: "How To Write Bash Scripts In Linux - Complete Guide (Part 15 - CRON Jobs)" by Learn Linux TV.
Replace passwords with SSH keys — the private key never leaves your machine — and log in without a password. Move data with scp for one file and rsync for everything else, copying only what changed, and watch the trailing slash: it changes what rsync does. Keep long jobs alive with tmux, submit cluster jobs with sbatch from the login node (never run heavy work there), and open a remote Jupyter notebook through an SSH tunnel.
Video: "Essential Software Development Tools – Lecture 7 | SSH Keys, File Transfers & tmux" by Learn With Jaby.
Learn what a container is — the host's kernel, only the application and its dependencies packaged — and how it differs from a virtual machine. Write a Dockerfile that builds a reproducible Python data environment, keeping data and secrets out of the image. Mount data in volumes so results survive the container, describe multi-container setups with Compose, check a GPU with nvidia-smi, and run containers on shared clusters with Apptainer, where Docker's root daemon is not allowed.
Video: "Learn Docker in 7 Easy Steps - Full Beginner's Tutorial" by Fireship.
Describe a pipeline as inputs, steps, and outputs, with the promise that the same input through the same steps gives the same output. Encode the steps in a Makefile and version the code — not the data — with Git. Plan for failure: monitor runs, retry only idempotent steps, and never let a failed run overwrite the last good output. Render a report from code with Quarto, keeping the rendered output out of Git, and prove the pipeline rebuilds from the repository alone with a GitHub Actions workflow on every push.
Video: "Makefiles Make Your Life Easier" by NeuralNine.
Most serious data work runs on Linux. The servers that hold your data run Linux. The clusters that train your models run Linux. The containers that ship your analysis run Linux. Yet most data scientists and statisticians learn their craft on a laptop and meet Linux only when something breaks — a job that will not run, a package that will not install, a server they cannot reach.
Note: This course's contents were developed by expert human SME's with the aid of artificial intelligence.
This course contains the use of artificial intelligence.
This course closes that gap, from the ground up. You will install Linux in a virtual machine, so nothing on your own computer is at risk. You will learn the shell the way working data scientists actually use it: moving files, searching text, chaining small tools together, and automating the boring parts. You will build Python and R environments you can rebuild on any machine, schedule jobs that run while you sleep, reach remote servers over SSH, package your work in Docker containers, manage conda environments, submit jobs to a cluster scheduler, check a GPU, and publish a reproducible report with Quarto, and finish by building a complete data pipeline — raw data in, checked results out — that anyone else can rerun.
Every lecture is short, one idea at a time, and every lecture ends with a hands-on terminal lab you do yourself in your virtual machine. No prior Linux experience is assumed. If you can open a terminal, you can start. By the end you will not just know Linux commands. You will have a working, reproducible pipeline of your own, and the confidence to run data work on any Linux machine you meet.