After a one-week setup, the Linux roadmap has five stages: the command line and file system, then users, permissions and processes, then text processing and shell scripting, then system administration, and finally Linux inside the DevOps stack with Git, Docker, the cloud and Kubernetes. Developers can stop after stage three and a few parts of stage four. DevOps, cloud and SRE engineers need all five. At 8–10 hours a week, the full path takes about six months by our estimate.
Linux is worth the time because almost every server you will deploy to runs it. W3Techs finds that Unix-like systems power 92.2% of websites whose operating system it can detect, and that Linux is confirmed on 64.5% of them (W3Techs, 22 November 2026). Cloud virtual machines, containers and Kubernetes nodes are Linux underneath, so the commands you learn here are the same ones you will type at work.
Several things changed recently, so older roadmaps are partly out of date. Ubuntu 26.04 LTS shipped in April 2026 on the Linux 7.0 kernel. Red Hat’s RHCSA exam is now based on RHEL 10. CompTIA launched a new version of its Linux+ exam, XK0-006, in July 2025. And CentOS Linux, the distro many older tutorials use, has reached end of life (CentOS Stream continues as a separate project).
This guide covers each stage, the commands that matter most, six projects to build, the certifications worth paying for, what Linux roles pay in India and a study-plan template you can copy.
Where these numbers come from
- W3Techs: Linux and Unix usage across websites, checked on 23 November 2026 (data dated 22 November 2026).
- Ubuntu, Canonical and Debian release notes: release dates, kernel versions and support periods.
- Official certification pages: exam formats and prices from the Linux Foundation, Red Hat and CompTIA, checked on 23 November 2026.
- PayScale India: self-reported salaries for Linux system administrators and DevOps engineers.
Time estimates in this guide are ours, for someone studying part-time. Red Hat shows exam prices only after you pick a country at booking, and CompTIA’s certification page does not list a price, so those two figures come from authorised training partners. Treat salary figures as ranges, not offers.
Transform Your Career
Choose from our industry-leading programs designed for career success
Modern Software and AI Engineering Program
Master full-stack development with AI integration
AI Forward Deployed Engineer with Specialisation in AI applications
Build and deploy AI solutions for real-world business problems
Modern Data Science and ML with specialisation in AI
Advanced data science techniques with AI specialization
Advanced AIML with Specialisation in Agentic AI
Deep dive into AIML with focus on Agentic systems
DevOps, Cloud & AI Platform Engineering
Build and manage AI-powered cloud infrastructure
AI Engineering Advanced Certification by IIT-Roorkee
Premier AI engineering certification from IIT-Roorkee
Linux roadmap at a glance
| Stage | What you learn | Time (our estimate) | What this means for you |
| 0 | Set up a Linux machine | 1 week | You practise on a real system from day one |
| 1 | Command line and file system | 3–4 weeks | You can find your way around any server |
| 2 | Users, permissions and processes | 3 weeks | You can fix “permission denied” errors and stuck processes |
| 3 | Text processing and shell scripting | 4–6 weeks | You can automate the tasks you repeat |
| 4 | System administration | 6–8 weeks | You can run, secure and troubleshoot a server |
| 5 | Linux in the DevOps stack | 6–8 weeks | You are ready for DevOps and cloud interviews |
Not everyone needs every stage. Use this table to decide how far to go.
| Your goal | Stages to cover | Why |
| Backend or full-stack developer | 0–3, plus SSH, services and logs from stage 4 | You will deploy and debug your own apps on Linux servers |
| DevOps, cloud or SRE engineer | All stages, 0–5 | The job is running Linux systems at scale |
| Data or ML engineer | 0–3, plus Docker from stage 5 | Pipelines and model servers usually run in Linux containers |
Step 0: Set up a Linux machine to practise on
You learn Linux by using it every day, so set up a machine before you open a tutorial. Any of these will work:
- WSL on Windows: run wsl –install in PowerShell as administrator to get Ubuntu inside Windows. It is the quickest way to start.
- A virtual machine: install Ubuntu in VirtualBox, or in UTM on a Mac. Take snapshots so you can break things and roll back.
- A cloud VM: a small instance on AWS, Azure or Google Cloud gives you a real server with a public IP address, which is closest to what you will manage at work. Stop it when you finish so it does not run up charges.
Which distro should you use? Start with Ubuntu, then spend a week on a RHEL-family distro, because many enterprise jobs and the RHCSA exam use Red Hat Enterprise Linux.
| Distro | Current release | Where you will meet it |
| Ubuntu | 26.04 LTS, released April 2026, supported until April 2031 | Cloud VMs, startups and most tutorials |
| Debian | 13 “trixie”, released August 2025, supported until June 2030 | Servers and many Docker base images |
| RHEL, Rocky Linux, AlmaLinux | RHEL 10, the version the RHCSA exam uses | Enterprise data centres |
| Fedora | A new release roughly every six months | Developers who want the newest packages; it feeds into RHEL |
Source: Ubuntu 26.04 LTS release notes, Debian trixie release information and Red Hat’s EX200 exam page, checked 23 November 2026. Scaler’s guide to the best Linux distros compares more options.
Step 1: Command line and the file system
In Linux, almost everything is a file or a process, and the terminal is how you reach both. Start by learning where things live: /etc holds configuration, /var/log holds logs, /home holds user files and /proc shows live information about running processes. Scaler’s guide to the Linux file system and directory structure maps the full tree.
| Task | Commands to learn |
| Move around | pwd, cd, ls -la |
| Create, copy, move and delete | touch, mkdir, cp, mv, rm, ln -s |
| Read files | cat, less, head, tail -f |
| Find files and programs | find, locate, which |
| Get help | man, –help, tldr |
| Edit files | nano, then the basics of vim (open, insert, save, quit) |
Then learn to chain commands. The pipe (|) sends one command’s output into the next, > and >> write output to a file, 2> captures errors, and && runs the next command only if the first one succeeds. For worked examples of each command, see these basic Linux commands.
Pro tip: learn the basics of vi or vim early. On a minimal server it may be the only editor installed, and an outage is a bad time to learn how to quit it.
Step 2: Users, permissions and processes
Most “it doesn’t work” problems on a Linux server come down to who owns a file or what a process is doing.
- Users and groups: create users with useradd, change them with usermod, and understand /etc/passwd, /etc/group and sudo.
- Permissions: read, write and execute for the owner, group and others; chmod in both symbolic and numeric form (755, 644); chown; and special bits such as setuid and the sticky bit. Scaler’s guide to file permissions in Linux covers each one.
- Processes: ps aux, top or htop, kill and the common signals (SIGTERM and SIGKILL), background jobs with &, bg and fg, and process priority with nice.
Pro tip: never fix a permission error with chmod 777. It lets every user on the system change the file. Find out which user the program runs as, and give that user only the access it needs.
Step 3: Text processing and shell scripting
Servers produce text: logs, configuration files and command output. Filtering that text quickly is what makes you fast at troubleshooting, and shell scripts turn a sequence of commands into a tool you can run again.
- Text tools: grep to search, sed to find and replace, awk to work with columns and build reports, plus cut, sort, uniq, wc and xargs.
- Bash basics: the shebang line, variables, quoting, if conditions, for and while loops, functions, script arguments and exit codes.
- Safer scripts: set -euo pipefail at the top of a script makes it stop on errors instead of carrying on. Check your scripts with ShellCheck before you rely on them.
- Scheduling: run scripts on a schedule with cron. Scaler explains scheduling tasks with cron step by step. On newer systems you will also see systemd timers doing the same job.
Start with Scaler’s practical guide to shell scripting, then write one script for something you currently do by hand, such as deleting old log files.
Step 4: System administration
This is the stage that turns “I know some Linux commands” into “I can run a server”. It is also what the main Linux certifications test.
| Area | What to learn | Key commands and tools |
| Packages | Installing, updating and removing software; repositories | apt (Ubuntu, Debian), dnf (RHEL, Fedora) |
| Services and boot | How systemd starts services, enabling a service at boot, the boot process | systemctl, journalctl |
| Networking | IP addresses, ports, DNS, routing and firewalls | ip, ss, ping, curl, dig, ufw, firewalld |
| Remote access | SSH keys, SSH config files, copying files between machines | ssh, ssh-keygen, scp, rsync |
| Storage | Disks, partitions, file systems, mounting and LVM | lsblk, df -h, du, mount, /etc/fstab, lvcreate |
| Logs and troubleshooting | Reading system logs and kernel messages | journalctl, /var/log, dmesg |
| Security | Updates, least privilege, SSH hardening, mandatory access control | sudo, SELinux (RHEL family), AppArmor (Ubuntu) |
Learn the current tools first. ip and ss are the modern replacements for ifconfig and netstat, which come from the older net-tools package that many distros no longer install by default. For the networking concepts underneath, Scaler’s free Computer Networks course is a good companion.
Step 5: Linux in the DevOps stack
DevOps tools are built on Linux features, so this stage goes much faster once stages 1 to 4 are solid.
- Git: version control for your code, scripts and configuration. Every DevOps workflow starts here.
- Containers: a Docker container is a Linux process isolated with namespaces and limited with cgroups. Read Scaler’s guide to Linux containers, then work through the Docker tutorial.
- Cloud: launch and manage Linux VMs on AWS, Azure or Google Cloud, including SSH access, firewall rules and storage. Scaler’s cloud computing roadmap shows where this fits.
- Infrastructure as code: Terraform to create servers, and Ansible to configure them over SSH.
- Kubernetes: runs containers across a cluster of Linux nodes. When a pod or node misbehaves, you debug it with the same skills from stage 4. See Kubernetes vs Docker for how the two fit together.
- Monitoring: Prometheus and Grafana for metrics, plus reading logs from containers and hosts.
For the full path beyond Linux, including CI/CD and cloud certifications, see Scaler’s DevOps roadmap.
Linux commands every developer and DevOps engineer should know
If you only have a week, start with these. They come up most often in day-to-day work and in interviews.
| Category | Commands | What you use them for |
| Navigation and files | ls, cd, cp, mv, rm, find | Moving around and managing files |
| Viewing files and logs | cat, less, tail -f, journalctl | Reading configs and following logs live |
| Searching text | grep, awk, sed | Finding errors and pulling fields out of logs |
| Permissions | chmod, chown, sudo | Fixing access problems safely |
| Processes | ps, top, kill | Finding and stopping programs that misbehave |
| Disk | df -h, du -sh | Finding out what filled the disk |
| Network | ip a, ss -tulpn, curl, dig | Checking addresses, open ports, connections and DNS |
| Services | systemctl status, systemctl restart, systemctl enable | Managing services and finding out why one failed |
| Remote work | ssh, scp, rsync | Logging in to servers and copying files |
| Packages | apt, dnf | Installing and updating software |
Linux projects to build
Projects prove you can use Linux, not just recognise commands. Build these in order, and put each one on GitHub with a short README that explains what it does and why.
| Project | Stage | What it proves |
| Harden a fresh Ubuntu server: create a sudo user, disable root and password logins, turn on the firewall and enable automatic security updates | 2 and 4 | You can secure a server |
| Backup script: compress a folder, copy it to another machine with rsync, delete backups older than seven days and run it nightly with cron | 3 | You can automate and schedule work |
| Log report: use grep and awk to list the top 10 IP addresses and error codes in an Nginx access log | 3 | You can troubleshoot from logs |
| Host a web app: run it as a systemd service behind Nginx as a reverse proxy, with HTTPS from Let’s Encrypt | 4 | You can deploy and run an application |
| Health check: a script that alerts you when disk, memory or CPU usage crosses a limit you set | 3 and 4 | You can monitor a system |
| Containerise and ship: package the web app with Docker, deploy it to a cloud VM and redeploy it automatically through a CI pipeline | 5 | You are ready for DevOps work |
Linux certifications worth considering
Certifications are optional, but a hands-on one is a strong signal when you have no Linux work experience yet. LFCS and RHCSA are both performance-based: you complete real tasks on a live system instead of answering multiple-choice questions.
| Certification | Exam fee | Format | Best for |
| Introduction to Linux (LFS101), Linux Foundation | Free | Self-paced beginner course, about 60 hours of material | Your first structured course |
| LFCS (Linux Foundation Certified System Administrator) | US$445, one retake included | Online, proctored, performance-based, 2 hours; valid for 2 years | Distro-neutral sysadmin and DevOps roles |
| RHCSA (EX200) | About ₹20,000 plus 18% GST in India; US$500 list price | Hands-on practical exam based on RHEL 10 | Enterprise roles that run Red Hat; required before RHCE |
| CompTIA Linux+ (XK0-006) | About US$399 | Up to 90 multiple-choice and performance-based questions, 90 minutes, pass mark 720 out of 900 | Support and junior admin roles that ask for CompTIA |
Source: Linux Foundation, Red Hat and CompTIA certification pages, checked 23 November 2026. The RHCSA price in India and the Linux+ price are as reported by authorised training partners, so confirm both when you book.
The LFCS exam weights make a useful checklist even if you never sit the exam, because they line up with what Linux jobs ask for.
| LFCS domain | Weight |
| Operations deployment | 25% |
| Networking | 25% |
| Storage | 20% |
| Essential commands | 20% |
| Users and groups | 10% |
Source: Linux Foundation LFCS page, checked 23 November 2026.
If you are heading towards DevOps, the Certified Kubernetes Administrator (CKA) is a common next step once your Linux skills are solid.
Linux salary in India
Linux on its own leads to system administration roles. Linux plus scripting, containers and cloud leads to DevOps roles, which pay more. Here is what PayScale shows for both.
| Role | Average base salary | Typical range (10th to 90th percentile) | Based on |
| Linux System Administrator | ₹5.8 lakh a year | ₹2.9 lakh – ₹20 lakh | 120 profiles, updated 6 August 2026 |
| DevOps Engineer | ₹10 lakh a year | ₹4 lakh – ₹30 lakh | 777 profiles, updated 11 October 2026 |
Source: PayScale: Linux System Administrator and PayScale: DevOps Engineer, checked 23 November 2026.
On average, a DevOps engineer earns about 1.7 times as much as a Linux system administrator, and the gap starts early. PayScale puts average total pay at about ₹4.5 lakh a year for DevOps engineers with less than a year of experience, against about ₹2.5 lakh for entry-level Linux administrators. Both figures come from small, self-reported samples, so use them to compare roles rather than to judge a specific offer.
Mistakes to avoid on the Linux roadmap
- Watching tutorials without typing the commands yourself on a real machine.
- Memorising commands without understanding the file system, users and permissions behind them.
- Running everything as root, or fixing access errors with chmod 777.
- Following old guides built on CentOS Linux, ifconfig or init scripts instead of a current distro, ip and systemd.
- Jumping to Kubernetes before you can debug a single Linux server.
- Collecting certificates without projects you can show and explain.
Template: your Linux study plan
Fill this in before you start, and review it once a month.
| Field | What to write | Example |
| Target role | The job you want in 6–12 months | Junior DevOps engineer |
| Starting point | What you already know | Comfortable with Python, never used a terminal |
| Practice setup | Where you will run Linux | Ubuntu 26.04 LTS in WSL, plus one small cloud VM |
| Weekly hours | Realistic study time | 8 hours (weekday evenings and Saturday) |
| Stages to cover | From the roadmap table above | Stages 0–5, about six months |
| Projects | Two or three from the project list | Hardened server, backup script, web app behind Nginx |
| Certification (optional) | One exam and a target month | LFCS in month six |
| Interview practice | How you will prepare for questions | Ten Linux interview questions a week, answered out loud |
If you can’t name your practice setup and your first project, add them before you start. They are what you will talk about in interviews. For question practice, InterviewBit’s Linux interview questions cover the basics most interviewers ask.
Practise it
Give yourself 60 minutes on a fresh Ubuntu VM. Create a user with sudo rights, switch SSH to key-only login, install Nginx and make sure it starts on boot. Then write a script that warns you when disk usage passes 80%, and schedule it with cron. If you can do all of that without a tutorial, you have covered stages 1 to 4.
Linux is the base layer of DevOps. Scaler’s DevOps course builds on it with shell scripting, networking, Git, Docker, Kubernetes, CI/CD with Jenkins and GitHub Actions, and AWS with Terraform, through real-world projects.
Also Explore These Projects to Build Your Portfolio
Explore These In-Demand Career Skills
Read These Important Roadmaps: More Paths to Career Success
FAQs
How long does it take to learn Linux?
About 2–3 months of part-time study covers the command line, permissions and shell scripting, which is enough for most developers. Reaching a job-ready level for system administration or DevOps takes about six months at 8–10 hours a week, by our estimate.
Which Linux distro should I learn first?
Start with Ubuntu. It has the most tutorials and is a popular choice for cloud servers. Once you are comfortable, spend time on a RHEL-family distro such as Rocky Linux or AlmaLinux, because many enterprise jobs and the RHCSA exam use Red Hat Enterprise Linux.
Is Linux required for DevOps?
Yes. Containers, Kubernetes nodes, CI runners and most cloud servers run Linux, so DevOps engineers spend much of their day in a Linux terminal. That is why most DevOps roadmaps, including Scaler’s, put Linux first.
Do developers need to learn Linux?
Most do. Even if you write code on Windows or macOS, it will probably run on a Linux server or in a Linux container. Knowing the command line, permissions, logs and SSH makes you much faster at deploying and debugging your own applications.
Which Linux certification is best for beginners?
Start with the free Introduction to Linux (LFS101) course from the Linux Foundation. For a paid certification, LFCS is distro-neutral and includes a free retake, RHCSA suits jobs that run Red Hat, and CompTIA Linux+ suits support roles that ask for CompTIA.
Which Linux commands should I learn first?
Start with ls, cd, cp, mv, rm, cat, less, grep, find, chmod, chown, ps, kill, df and man. Add systemctl, journalctl, ssh and ip as you move into system administration.
Can I learn Linux on Windows?
Yes. The Windows Subsystem for Linux (WSL) runs Ubuntu and other distros inside Windows. Run wsl –install in an administrator PowerShell window to set it up. WSL is enough for the first three stages. For system administration practice, add a virtual machine or a cloud VM.