How I Learned Linux in 3 Months (And You Can Too)
I thought Linux was only for hackers. Then I tried installing it. I failed twice. But on my third attempt, something clicked.
Let me start with something honest.
Three years ago, I didn’t know what Linux was. I thought it was some operating system for programmers who liked dark screens and green text. I was happy with Windows. Why would I ever need Linux?
Then I applied for a job. System Administrator. I had all the Windows skills they wanted. But one line stopped me: “Linux experience required.”
I didn’t get the job.
That rejection sat with me. I kept thinking: if I’d just learned Linux, that job could have been mine.
So I decided to learn it. No courses. No bootcamps. Just me, my laptop, and the internet.
The first time I tried installing Ubuntu, I broke my Windows bootloader. Couldn’t start my computer. Panicked for an hour. Fixed it eventually.

The second time, I got Linux running but couldn’t figure out how to install software. Gave up after two days.
The third time, something changed. I stopped trying to “learn Linux” and started just using it. Every day. For everything.
Within three months, I was comfortable in the terminal. Within six, I was managing servers. Within a year, I got that Linux job I’d been rejected from.
Now I want to save you the struggle. Here’s exactly how I learned Linux — what worked, what didn’t, and what you need to focus on.
1. Start With Ubuntu (Don’t Overthink This)
My biggest mistake was researching “best Linux distro” for weeks. There are hundreds. Don’t fall into this trap.
Just pick Ubuntu.
Why Ubuntu?
Most beginners use it (so help is everywhere)
Every problem you’ll face has been solved on a forum
It just works out of the box
What I did: Downloaded Ubuntu, installed it on a virtual machine (VirtualBox is free), and forced myself to use it for one week.
What you should do: Don’t overthink. Go to ubuntu.com. Download the desktop version. Install VirtualBox. Create a virtual machine. Click through the Ubuntu setup. Done.

External link: ubuntu.com/download
2. Install Linux Without Fear (Virtual Machine is Your Friend)
Beginners worry about breaking their computer. I did too. That’s why I recommend a virtual machine.
A virtual machine is a computer inside your computer. You can install Linux inside it. If you break it? Just delete it and start over. No harm to your real system.
Three ways to run Linux:
| Method | Difficulty | Best For |
|---|---|---|
| Virtual Machine | Easy | Beginners (safe) |
| Live USB | Easy | Testing without installing |
| Dual Boot | Hard | Advanced users only |
What I did: Used VirtualBox for my first 2 months. Broke my Linux install 5 times. Each time, I just created a new VM. Learned more from breaking things than from getting them right.
What you should do: Download VirtualBox (free). Create a VM with 4GB RAM and 25GB storage. Install Ubuntu. Break it on purpose. Fix it. That’s how you learn.
Internal link: Want to recover files if something goes wrong? Read That Time I Lost 40 Hours of Work
3. Learn the Terminal (But Start Small)
The terminal looks scary. Black screen. Blinking cursor. No mouse.
But here’s the secret: you only need 10 commands to start.
The essential 10 commands (practice these daily):
| Command | What it does | Example |
|---|---|---|
ls | List files | ls Documents |
cd | Change directory | cd Downloads |
pwd | Show current location | pwd |
mkdir | Create folder | mkdir myfolder |
touch | Create file | touch file.txt |
cp | Copy file | cp file.txt copy.txt |
mv | Move file | mv file.txt Documents/ |
rm | Delete file | rm file.txt |
sudo | Superuser power | sudo apt update |
exit | Close terminal | exit |
What I did: Every day for 2 weeks, I opened the terminal and practiced these 10 commands. No shortcuts. No copy-paste. Typed them myself.
What you should do: Open terminal. Type ls. Then cd Downloads. Then ls again. See what happens. Do this 10 times a day for a week.
4. Understand the Linux File System (It’s Different from Windows)
Windows has drives: C: D: E:
Linux has ONE root: /
Everything lives inside /. Your files go in /home/yourname/. System files go elsewhere.
Important directories to know:
| Directory | What’s inside |
|---|---|
/ | Root (everything starts here) |
/home/ | Your personal files |
/etc/ | Configuration files |
/var/log/ | System logs |
/tmp/ | Temporary files (deleted on restart) |

What I did: Spent an hour just exploring. Typed cd / then ls then cd /home then ls. Saw the structure with my own eyes.
What you should do: Type cd / then ls. See what’s there. Type cd /home then ls. See your username. This one hour will save you months of confusion.
5. Master File Permissions (The Thing That Confuses Everyone)
Linux has a weird permission system. rwxr-xr-x Looks like an alien language.
But it’s simple once you understand.
Three permission types:
r= read (look at file)w= write (change file)x= execute (run file)
Three user types:
Owner (you)
Group (people in your team)
Others (everyone else)
What I did: Created a test file. Changed permissions with chmod. Saw what happened when I removed read permission. Couldn’t open the file. Learned fast.
What you should do: Create a file: touch test.txt. Change permissions: chmod 777 test.txt. Then chmod 000 test.txt. Try to open it. See the error. Now you understand.
6. Learn Package Management (Installing Software)
On Windows, you download an .exe file and click “Next” 10 times.
On Linux, you type one command.
For Ubuntu/Debian (apt commands):
| Command | What it does |
|---|---|
sudo apt update | Refresh package list |
sudo apt upgrade | Update all software |
sudo apt install firefox | Install Firefox |
sudo apt remove firefox | Remove Firefox |

What I did: Installed everything through the terminal. VSCode. Chrome. GIMP. Every time I needed software, I Googled “apt install [software name]” and did it.
What you should do: Instead of using the Software Center, install everything through the terminal for one week. You’ll remember the commands forever.
7. Basic Networking Commands (You’ll Use These Daily)
Once you start working with servers, you’ll need these.
Essential networking commands:
| Command | What it does |
|---|---|
ping google.com | Check if the internet works |
ip a | Show your IP address |
curl ifconfig.me | Show public IP |
ssh user@server | Connect to the remote server |
What I did: Set up two virtual machines. Made them ping each other. Then SSH from one to the other. Felt like a real hacker.
What you should do: Create two Ubuntu VMs. Find their IP addresses (ip a). Ping one from the other. Then install SSH (sudo apt install openssh-server) and connect.
8. Shell Scripting (Automate Boring Tasks)
Typing the same commands every day? Put them in a script.
A shell script is just a text file with commands. You run it. It runs all the commands.
Example script (backup.sh):
#!/bin/bash mkdir /tmp/backup cp /home/username/Documents/* /tmp/backup/ echo "Backup complete!"
What I did: Wrote a script to organize my Downloads folder. Moved .jpg files to Pictures, .mp3 to Music, .pdf to Documents. Saved me 10 minutes every week.
What you should do: Create a file: nano myscript.sh. Add #!/bin/bash on line 1. Add echo "Hello World" on line 2. Save. Run: bash myscript.sh. Now build from there.
9. Practice With Real Projects (Theory is Useless)
You can read about Linux for months and learn nothing.
Or you can build something in a weekend and learn everything.
Beginner projects to try:
| Project | What you’ll learn |
|---|---|
| Set up a web server | Apache, ports, services |
| Create a backup script | Cron jobs, bash scripting |
| Run a Minecraft server | Systemd, networking |
| Install WordPress locally | Database, web stack |
What I did: Set up a LAMP server (Linux, Apache, MySQL, PHP) on a VM. Installed WordPress. Broke it. Fixed it. Broke it again. Learned more in one weekend than in a month of reading.
What you should do: Google “how to install LAMP on Ubuntu”. Follow the steps. Don’t copy-paste. Type every command. When it breaks, Google the error. That’s how professionals learn.
Internal link: Want to start a tech career? Read How to Start a Tech YouTube Channel
10. Keep Going (The Secret Nobody Tells You)
Here’s the truth about learning Linux.
You will get stuck. You will see error messages you don’t understand. You will want to give up.
Everyone goes through this. Even senior engineers.
The difference is: they don’t stop. They Google the error. They read the forum post. They try something else.
My 3-month learning schedule:
| Month | Focus | Daily time |
|---|---|---|
| Month 1 | Terminal basics + file system | 30 minutes |
| Month 2 | Permissions + package management | 45 minutes |
| Month 3 | Scripting + projects | 1 hour |
After 3 months, I wasn’t an expert. But I was comfortable. I could navigate, install software, write basic scripts, and fix common problems.
That was enough to get hired.
What you should do: Commit to 30 minutes every day. Not 3 hours once a week. Daily practice matters more than long sessions.
What I Learned From Failing Twice
My first two attempts at Linux failed because I tried to learn everything at once.
My third attempt succeeded because I focused on one thing at a time.
Week 1: Just terminal commands
Week 2: File system and navigation
Week 3: Permissions
Week 4: Package management
Each week built on the last. No overwhelm. Just progress.
You can do this too. Start with Ubuntu. Use a virtual machine. Practice 30 minutes daily. Build something real.
That Linux job that rejected me? I work there now.
Your turn.
FAQ
Do I need to learn Linux to get an IT job?
Most IT jobs require Linux knowledge. Servers run on Linux. Cloud runs on Linux. Even Windows administrators need basic Linux skills.
How long until I’m comfortable?
2-3 months of daily practice. 30 minutes a day is enough.
Which Linux should I start with?
Ubuntu. Don’t overthink this.
Can I learn Linux without installing it?
Use a virtual machine. It’s free and safe.

Final Thoughts
I failed twice before I succeeded.
The first time, I broke my computer. The second time, I gave up after two days.
But the third time, I stopped trying to “master Linux” and started just using it. Every day. For everything.
That made all the difference.
You don’t need to be a genius. You don’t need a computer science degree. You just need to start. And not stop.
Open VirtualBox. Install Ubuntu. Open the terminal. Type ls.
That’s how every Linux professional started.
Now it’s your turn.
More from Mag Tech Hub
I Downloaded My Facebook Data – magtechhub.com/downloaded-facebook-data
10 Phone Tricks You Never Knew – magtechhub.com/10-phone-tricks-never-knew
Is Your Phone Listening? 7 Privacy Fixes – magtechhub.com/phone-listening-7-privacy-fixes
That Time I Lost 40 Hours of Work – magtechhub.com/lost-40-hours-work-recovered-files
How to Start a Tech YouTube Channel – magtechhub.com/how-to-start-tech-youtube-channel-2026

