Home › Guides › How to learn Linux
Tech Explained · 2026How to Learn Linux in 10 Weeks: A 2026 Roadmap With Weekly Labs and Free Practice Environments
How to learn Linux: give it 10 focused weeks, split into four blocks. Weeks 1 to 3 cover the filesystem, the shell and text processing. Weeks 4 to 6 cover permissions, processes and systemd. Weeks 7 to 8 cover networking and storage. Weeks 9 to 10 cover shell scripting and a deliberate break-and-fix drill.
- Ten weeks at eight hours a week is enough to stop being frightened of a terminal, if seven of those hours are spent typing and one reading.
- Do not install Linux on your only laptop. A throwaway virtual machine teaches faster, because you stop being careful with it.
- Ubuntu 26.04 LTS changed two defaults you will touch daily. It ships sudo-rs and the Rust uutils coreutils, so when a rare flag behaves oddly, check the implementation before doubting yourself.
- systemd and journalctl are the real syllabus. Most paid Linux work in 2026 is reading unit status and logs, not writing C.
- Skip desktop customisation completely. No employer has ever paid extra for a tiling window manager.
- Finish with a break-and-fix drill. Breaking a service on purpose and timing your own recovery is the only honest test of whether you learned anything.
Your monitoring pings at 11 pm, the app is down, you SSH into the box, and the only move you actually know is sudo reboot. It works. Nobody learns anything, including you, and the same thing happens the following Thursday. Learning Linux properly is mostly about replacing that one move with about forty others, drilled in an order that makes sense.
How to Learn Linux in 2026: What Changed This Year, and Why It Matters on Day One
The four numbers that set your starting point
Pick the distribution with the longest support window, so what you drill now is still correct at your next interview.
Canonical release notes and Red Hat developer programme terms, checked 15 November 2026.
Start on Ubuntu 26.04 LTS. Not Arch, not Gentoo, not whatever your favourite streamer runs. Canonical shipped 26.04 LTS, codenamed Resolute Raccoon, in April 2026 on the Linux 7.0 kernel, and standard support runs to April 2031. That matters more than any feature list: the commands you drill this month will still be the right answer when you interview in 2029.
Two defaults changed in that release, and nobody warns beginners about either. Ubuntu 26.04 ships sudo-rs, a Rust rewrite of sudo, as the default implementation, with classic sudo still available as a fallback through update-alternatives. It also ships the Rust uutils build of coreutils as the default for the standard command set. The project's stated goal is bug-for-bug compatibility with the GNU originals, and for every flag in this roadmap you will not notice a difference. But when some obscure option behaves strangely, check which implementation you are actually calling before you conclude you misread the manual. That sentence did not need saying a year ago.
If your target employer runs Red Hat instead, which in Indian BFSI and telecom is still common, register a Red Hat Developer Subscription for Individuals: it covers RHEL on up to 16 physical or virtual systems, self-supported, renewed yearly. Learn on Ubuntu, then give week 6 onward to RHEL so that dnf, firewalld and SELinux stop being rumours you nod along to.
Also read: Linux Commands Cheat Sheet for DevOps in 2026, which is the reference to keep open in a second tab while you work through the weeks below.
How to Learn Linux: The 10-Week Plan at a Glance
Eight hours a week, eighty hours total. That is the budget a working professional can actually defend, and it is enough. Hold a picture in your head of one reader for the rest of this guide: a desktop support engineer in Pune, five years in, Windows only, who gets two hours on four weeknights and nothing at the weekend. The Linux roadmap 2026 below is sized for that person, not for a student with empty afternoons.
The Linux Roadmap 2026, Block by Block
The 10-week Linux roadmap, week by week
Each block ends in something you can show or demonstrate, not a chapter you finished.
Build the lab
Stand up a virtual machine you are willing to destroy, and destroy it once on purpose. Deliverable: you can rebuild a clean Ubuntu 26.04 box from nothing in under two minutes.
Filesystem and shell navigation
Paths, the filesystem hierarchy, redirection, pipes, globbing, tab completion, and the manual pages. Deliverable: you never use a file manager for the rest of the roadmap.
Text processing
grep, sed, awk, sort, uniq, cut and head on real log files. Deliverable: one pipeline that answers a question about a log, written without searching the web.
Users, permissions and processes
Ownership, the permission bits, sudo policy, signals, ps and top. Deliverable: you can explain why a service cannot read its own config file.
systemd and the journal
Unit files, enable versus start, dependencies, timers, and journalctl filtering. Deliverable: a unit file you wrote that survives a reboot.
Networking and storage
ip, ss, DNS resolution, firewall rules, SSH keys, disks, mounts and inodes. Deliverable: a cloud server you built, hardened and can reach on port 443 only.
Shell scripting and break-and-fix
Bash with strict mode, loops, exit codes, cron, then a timed recovery drill on a box you sabotaged yourself. Deliverable: a recovery you did in under 15 minutes.
Sized for eight study hours a week; compress to six weeks only if you can give it twenty.
Linux for Beginners: What This Roadmap Deliberately Leaves Out
Notice what is missing. No kernel compilation, no Linux From Scratch, no init system history, no distro-hopping. Those are hobbies, and good ones, but they do not move you toward a job, and most guides to Linux for beginners spend half their length there. The same groundwork sits in the opening weeks of 360DT's live AWS Solutions Architect and DevOps Engineer program, for the simple reason that you cannot debug an EC2 instance you cannot navigate.
Step 0: Build Free Linux Practice Labs You Can Destroy
This is the decision that determines whether you finish. Dual-booting your only laptop makes every mistake expensive, so you get cautious, and cautious learners stay slow. Run a virtual machine instead and treat it as disposable.
# A throwaway Ubuntu VM on your own machine
sudo snap install multipass
multipass find # lists the images you can launch
multipass launch --name lab01 --cpus 2 --memory 2G --disk 10G
multipass shell lab01
# Wrecked it? Good. Start again in under a minute.
multipass delete lab01 --purge
multipass purge
Run that delete command once in week 0, deliberately, before you have anything to lose. It rewires how you experiment for the next nine weeks.
| Environment | What you get | The limit that bites | Best for |
|---|---|---|---|
| Multipass VM on your own machine | Root on a real Ubuntu VM, with rebuilds in seconds | Needs roughly 4 GB spare RAM and 10 GB disk | Weeks 0 to 10, the default choice |
| Google Cloud Shell | A browser terminal with 5 GB of free persistent disk mounted as your home directory | Sessions close after idle time, and you do not own the host | Practising from a locked-down office machine |
| Red Hat Developer Subscription for Individuals | RHEL on up to 16 physical or virtual systems, self-supported | Individual use only, renewed yearly, and you handle registration | Week 6 onward if your employer runs RHEL |
| A cloud instance on the AWS Free plan | Real SSH key handling, security groups and public networking | The Free plan runs up to six months or until your sign-up credits are spent | Weeks 7 to 8, when networking stops being theoretical |
| Browser scenario platforms such as Killercoda | Pre-broken environments with nothing to install | Sessions are time-boxed, so nothing you build persists | Twenty-minute drills on a lunch break |
On the cloud option, know what you are signing up for. Accounts created since 15 July 2025 choose between a Free plan and a Paid plan at sign-up; the Free plan gives you 100 US dollars in credits, up to 100 more for completing activities, and runs for up to six months or until those credits are gone. That is plenty for two weeks of networking practice and nothing like a permanent home lab.
Here is what usually goes wrong at this step. People spend week 0 reading distribution comparisons, land on something interesting, hit a driver problem on day three, and quietly stop. The distribution does not matter yet. Pick the one with support until 2031, accept that it is boring, and get to week 1.
Weeks 1 to 3: The Filesystem, the Shell and Text Processing
The first two weeks are muscle memory, not understanding. You are trying to reach the point where typing a path and hitting tab is faster than thinking about it. Work entirely in the terminal, including file browsing, and refuse yourself the graphical file manager.
| Command | The question it answers | Drill it until |
|---|---|---|
ls -lah |
What is here, who owns it, how big is it? | You read the permission string without pausing |
find / -name "*.conf" -mtime -2 |
Which config changed in the last two days? | You stop reaching for locate
|
grep -rn "timeout" /etc/nginx |
Where is this setting actually defined? | You use -rn by reflex |
less +F /var/log/syslog |
What is happening right now? | You know it beats tail -f for scrolling back |
sed -i.bak "s/8080/9090/" app.conf |
Can I edit in place and keep a backup? | You always write the .bak suffix |
awk "{print \$1, \$7}" access.log |
Can I pull two columns out of a log? | Field numbering is automatic |
sort | uniq -c | sort -rn |
What is the top offender? | You type the whole trio as one unit |
chmod 640 secrets.env |
Who can read this file? | You translate octal to rwx in your head |
ps aux --sort=-%mem | head |
What is eating the memory? | You stop opening top for this |
systemctl status ssh |
Is this service running, and why not? | You read the last log lines it prints |
Week 3 is where Linux starts paying you back. Text processing is the skill that separates people who can operate a server from people who can investigate one. Our support engineer in Pune ran this on their lab box in week 3, after seeding it with a handful of failed SSH logins:
# Which addresses failed to log in most often in the last day?
sudo journalctl -u ssh --since "24 hours ago" --no-pager \
| grep "Failed password" \
| grep -oE "from [0-9.]+" \
| awk "{print \$2}" \
| sort | uniq -c | sort -rn | head -5
# 41 203.0.113.17
# 12 198.51.100.4
# 3 192.0.2.88
One gotcha that trips people moving between distributions: the unit is ssh on Ubuntu and sshd on RHEL, so the same command needs a different unit name depending on the box you are on. Learn both names in week 3 and you will save yourself a confused ten minutes later.
Weeks 4 to 6: Permissions, Processes and systemd
Weeks 4 and 5 cover the thing that causes most real incidents: a process running as a user that cannot read what it needs. Learn ownership and the permission bits properly, then learn that the error message almost never says "permissions" out loud. It says the config is invalid, or the socket is missing, or the directory does not exist.
Week 6 is systemd, and it is the most valuable week in this roadmap. On any mainstream distribution in 2026, operating a service means four verbs and one log reader: status, start, enable, restart, and journalctl. The gap between a junior and a competent operator is almost entirely the speed of the loop below.
The diagnosis loop for a service that is down
Two branches, four commands. Memorise the shape and you will never reboot blindly again.
The same loop applies on Ubuntu and RHEL; only the unit names differ. Checked 15 November 2026.
Reproduce the left branch yourself in week 6. Install both nginx and apache2 on your lab box, which puts two services in a fight over port 80, then work the loop:
systemctl status nginx --no-pager
# Active: failed (Result: exit-code) since Sat 2026-11-14 23:12:04 IST
journalctl -u nginx -n 30 --no-pager
# nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
sudo ss -tulpn | grep ":80 "
# tcp LISTEN 0 4096 0.0.0.0:80 0.0.0.0:* users:(("apache2",pid=812,fd=4))
sudo systemctl disable --now apache2
sudo systemctl restart nginx
systemctl is-active nginx
# active
That is the whole job, in miniature: read the status, read the log line that actually names the failure, confirm it with a second tool, change one thing, verify. Unit files and timers are exactly where a live program earns its fee over a video course, which is why the Azure Solutions Architect and DevOps track spends lab time writing them rather than describing them, on the way to AZ-400.
Weeks 7 to 8: Networking and Storage, Where Interviews Actually Probe
Move to a cloud instance for these two weeks. The point is not the cloud provider; it is that a machine with a public address forces you to deal with SSH keys, firewall rules and DNS instead of reading about them. Learn ip addr and ip route rather than ifconfig, which is not installed by default on a minimal Ubuntu server image, and learn ss -tulpn rather than netstat for the same reason.
The disk-full question you will be asked
Storage interviews converge on one scenario, so work it as arithmetic. A 20 GB root volume sitting at 92 percent has about 1.6 GB free. Your application writes a 400 MB log file every day and nobody configured rotation. That gives you four days, not an emergency, provided you find it today:
df -h / # 92% used, 1.6G available
sudo du -xh --max-depth=1 /var | sort -rh | head -5
# 11G /var/log
sudo journalctl --disk-usage # journal alone: 4.2G
sudo journalctl --vacuum-size=200M # reclaim most of it immediately
Then learn the trick question behind it. When df -h reports free space but writes still fail with "No space left on device", you have run out of inodes, not bytes, which usually means millions of tiny session or cache files. df -i shows it in one line. Candidates who know that answer in an interview are remembered; the -x flag on du, which keeps it from wandering into other filesystems, is the detail that marks someone who has actually done this at 2 am.
This is also the week Linux stops being a separate subject. SSH key handling, security groups and private subnets are the same material that SAA-C03 and DOP-C02 test, and the same ground a live MLOps engineering program assumes before it puts a model behind a container.
Weeks 9 to 10: Shell Scripting and the Break-and-Fix Drill
Two weeks of Bash, and the first thing to learn is the three-line header that separates a script from a liability:
#!/usr/bin/env bash
set -euo pipefail
THRESHOLD=80
df -hP | tail -n +2 | while read -r fs size used avail pcent mount; do
pct=$(echo "$pcent" | tr -d "%")
if [ "$pct" -ge "$THRESHOLD" ]; then
echo "WARN $mount is ${pct}% full"
sudo du -xh --max-depth=1 "$mount" 2>/dev/null | sort -rh | head -5
fi
done
set -e stops on the first error, set -u fails on an unset variable rather than expanding it to nothing, and set -o pipefail makes a failure anywhere in a pipeline fail the whole line. Without that third one, a script that pipes a failing command into head reports success and you ship a monitoring check that is permanently green. Write that header on every script from week 9 onward and put the script on a cron schedule so it runs without you.
The drill that proves you learned it
Week 10 has one assignment. On a fresh lab VM, pick three sabotages from a list you wrote in week 1, have a friend apply one without telling you which, then time your recovery. Good sabotages: chmod 000 on a service's config directory, a deliberate syntax error in a unit file, a filled root filesystem, a firewall rule dropping the service port, or a DNS entry pointed at the wrong address. Our Pune engineer timed three rounds: 38 minutes, 19 minutes, 11 minutes. The third run is the one that matters, because by then the loop from the diagram is running without conscious effort.
Write up one of those recoveries in ten lines, including the wrong turn you took, and keep it. It is the most useful thing in your portfolio for a cloud or support interview, far more so than another sentence claiming familiarity with Linux.
Also read: Docker Tutorial for Beginners 2026, which is the natural week 11 once the host no longer confuses you.
6 Mistakes That Stall Linux Learners
Where the ten weeks usually go wrong
Every one of these is a time sink that feels like progress while you are inside it.
Watching instead of typing
Video feels productive and leaves nothing behind. Pause after every command shown and run it in your own shell before the next one plays.
Costs 3 weeksCustomising the desktop
Themes, dotfiles and window managers are a genuinely enjoyable hobby and completely orthogonal to employment. Nothing in this roadmap needs a graphical session.
Pure detourCopying sudo commands you cannot read
Pasting a one-liner from a forum into a root shell is how you learn nothing and break everything. Run it through explainshell or decompose it yourself first.
Skipping the manual pages
Searching the web for a flag you could have found in man ss takes longer and teaches less. man and --help are the fastest tools on the box.
Treating permissions as trivia
Most real incidents are an identity problem wearing a different error message. Weeks 4 and 5 are the weeks people rush, and the ones they later regret.
Highest costNever breaking anything
If your lab box has never been unbootable, you have been studying rather than practising. Break it in week 10 on purpose, while the stakes are zero.
Do it earlyDrawn from the failure patterns that recur across self-taught Linux learners, not from survey data.
| Error you will see | What it usually means | First command to run |
|---|---|---|
Permission denied when the file looks readable |
The parent directory lacks execute permission, so the path cannot be traversed | namei -l /path/to/file |
Address already in use |
Another process holds the port, often a package you forgot you installed | sudo ss -tulpn | grep ":PORT " |
No space left on device while df -h shows space |
Inodes are exhausted by many tiny files | df -i |
Host key verification failed |
The server was rebuilt, so its key no longer matches your known hosts file | ssh-keygen -R <host> |
command not found right after a successful install |
The shell cached the old path lookup | hash -r |
| A service dies silently under load | The kernel out-of-memory killer chose it | journalctl -k | grep -i oom |
-
Never run a destructive command without reading the path twice.
rm -rfwith a stray space before the slash is the single most expensive typo in this field, and no amount of experience protects you from it. -
Prefer
rm -rion anything you did not create. The prompts are irritating for about a week and then they have saved you once. - Snapshot before you experiment. With a disposable VM this costs one command, and it turns a lost evening into a lost minute.
Linux for DevOps Engineers: What to Learn After Week 10
Week 11 is containers, week 13 is a cloud provider, and week 17 is infrastructure as code. That ordering is not negotiable in either direction: containers make no sense before namespaces and processes, and Terraform makes no sense before you have built a server by hand and resented it.
Now the honest part. Linux on its own has a low ceiling. If you stop here and take a Linux administration title, you are entering a role where Indian pay is typically advertised in the lower single-digit to high single-digit LPA range, and the work is increasingly absorbed into cloud and platform teams. Linux for DevOps engineers earns its keep as the floor under something else, whether that is data engineering on Spark clusters, putting RAG services into production, or site reliability work. And if your job is Power BI dashboards and it is going to stay that way, you can skip this roadmap entirely with my blessing; two weeks on SQL will do more for you.
On certification: do not buy one yet. The Linux Foundation still lists the LFCS at 445 US dollars on its own certification pages, which is a real amount of money for a credential that hiring managers in India mention far less often than an AWS or Azure one. Finish the ten weeks, then put that budget toward a cloud certification that appears in the job description. The full certifications overview lays out which exams actually show up in Indian postings and in what order.
Also read: DevOps Roadmap 2026 for the sixteen weeks that follow this one.
If I were in your position, I would do exactly one thing differently from most people who start this: I would build the lab tonight, before reading anything else, and run multipass delete --purge on it within the hour. Everything else in these ten weeks is downstream of being willing to break a machine. When you want the cloud layer taught live rather than guessed at, sit in on a free webinar or a demo class first and see whether the format suits how you learn, then commit.
Take your Linux fundamentals into AWS architecture and DevOps, live
An 80-plus hour live program over 12 weeks that prepares you for both AWS Solutions Architect Associate (SAA-C03) and AWS DevOps Engineer Professional (DOP-C02). Includes hands-on projects, mentor support and placement guidance.
Explore the course
Related guides
- Software Developer to DevOps Engineer in India 2026 shows what the role you are training for actually feels like on call, and what it pays.
- SAA-C03 vs DOP-C02 in 2026 settles which AWS exam to spend your certification budget on once week 10 is behind you.
- Kubernetes Troubleshooting in 2026 is the same diagnosis loop one layer up, once your services live in pods.
- GitHub Actions vs Jenkins in 2026 covers the first tool that will run your shell scripts for you.
- DevOps Jobs in Pune 2026 gives the local market picture if that is the city you are job hunting in.
Frequently asked questions
How to learn Linux from scratch if I have never opened a terminal?
Build a disposable virtual machine first, then spend weeks 1 and 2 doing nothing but navigation: paths, ls, cd, redirection and pipes, with no graphical file manager allowed. The terminal stops being intimidating once you have typed roughly 500 commands, which takes about two weeks at eight hours a week. Do not start with a book on kernel internals.
How long does it take to learn Linux?
About 80 hours of hands-on work gets you to job-ready fundamentals, which is 10 weeks at eight hours a week or six weeks if you can give it twenty. Comfort with systemd, permissions and networking arrives in that window. Genuine depth, meaning kernel tuning and performance work, takes years and almost no entry-level role asks for it.
Which Linux distro should a beginner use in 2026?
Ubuntu 26.04 LTS, because standard support runs to April 2031 and most tutorials and job descriptions assume a Debian or Ubuntu base. Add RHEL through the free Red Hat Developer Subscription for Individuals, which covers up to 16 systems, from week 6 if your target employers run it. Arch and Gentoo teach you plenty and cost you weeks.
Can I learn Linux without installing it on my laptop?
Yes, and you should. A Multipass or VirtualBox virtual machine gives you root on a real system you can destroy and rebuild in under a minute. If your machine is locked down, Google Cloud Shell gives you a browser terminal with 5 GB of free persistent disk mounted as your home directory. Dual-booting your only laptop makes you cautious, and cautious learners progress slowly.
Is a Linux certification worth it, or are projects enough?
For most Indian job seekers, projects plus a cloud certification beat a standalone Linux credential. The Linux Foundation lists the LFCS at 445 US dollars on its own certification pages, and Indian job descriptions name AWS and Azure certifications far more often. Finish the ten weeks, write up one documented recovery, then spend the money on the exam your target postings actually list.
Do I need to learn C or kernel internals to get a Linux job?
No. Operations, cloud and platform roles test whether you can read systemctl status, filter a journal, diagnose a permissions failure and script a repetitive task. C and kernel work matter for embedded and kernel engineering, which is a small and separate market. Learn Bash well before you learn any compiled language for this purpose.
What changed in Ubuntu 26.04 LTS that affects what I learn?
Two defaults. Ubuntu 26.04 ships sudo-rs as the default sudo implementation and the Rust uutils build of coreutils as the default core utilities, both aiming at compatibility with what came before. Every command in this roadmap behaves the same way. The practical change is that when a rare flag misbehaves, you now check which implementation you are calling before assuming you misread the manual.
Is Linux still worth learning when everything runs in containers?
Containers made it more necessary, not less. A container is a set of Linux namespaces and control groups sharing the host kernel, so a crashed pod, a permissions error in an image or an out-of-memory kill are all diagnosed with the same commands as before. Every Kubernetes debugging session eventually becomes a Linux debugging session.
About this guide. 360 Digital Transformation is an Anthropic Partner and a Microsoft Authorized Training Partner. Other certification bodies, vendors and employers named here are not affiliated with us. Tools and versions change quickly; commands and figures cited were checked on 15 November 2026.


