Introduction to linux

6/8/2025
Biisal

Welcome to Linux! It's a free and powerful system that lets you control how your computer works. In this chapter, you'll learn what Linux is, how it's different from Windows or macOS, and why so many people use it for websites, apps, and more. Don't worry if you're new ,This is for you :]

Introduction to linux

Introduction to Linux & the Terminal

Hey Internet Friendđź‘‹

I started learning Linux because I wanted to understand how web servers work — how they’re run, how they’re configured, and what goes on behind the scenes.

Let me tell you everything you need to know to get started, and I promise I’ll keep it simple and fun.

What is Linux?

Okay, let’s start with the basics. You know how your computer runs on Windows or maybe you r reach and usinng macOS :) Well, Linux is just another operating system - think of it as the “brain” that makes your computer work.

But here’s the cool part: Linux is completely free! No paying hundreds of dollars for licenses or anything like that.

Linux was created by a guy named Linus Torvalds back in 1991 (hence the name “Linux” - pretty clever, right?). What makes Linux special is that it’s “open source,” which basically means anyone can look at the code, modify it, and improve it. It’s like having the recipe to your favorite dish and being able to add your own ingredients!

You’ve probably been using Linux without even knowing it.Your Android phone? That’s Linux! Many websites you visit? They run on Linux servers,this one too. Even some smart TVs and routers use Linux.

Terminal vs GUI - What’s the Difference?

Alright, this is where things get interesting. When you use Windows or Mac, you’re mostly clicking on icons, dragging files around, and using your mouse, right? That’s called a GUI (Graphical User Interface). It’s visual and pretty user-friendly.

But Linux has something called the Terminal (also known as the command line). Instead of clicking on things, you type commands. I know - it sounds scary! But stick with me here.

Think of it this way: GUI is like ordering food by pointing at pictures on a menu, while the Terminal is like telling the waiter exactly what you want in your own words. Both get the job done, but sometimes talking directly is faster and more precise.

The Terminal looks like a black (or sometimes white) window where you type text commands. It might remind you of those old computer movies where hackers type really fast on black screens - except you won’t be hacking anything, just learning to communicate with your computer in a new way!

Why Learn the Terminal? (Trust Me, It’s Worth It!)

I get it - you might be thinking, “Why would I want to type commands when I can just click on things?” Fair question! Let me share why I fell in love with the Terminal:

It’s Actually Faster: Once you get the hang of it, typing a command is often much quicker than clicking through multiple menus. Want to create 10 folders? One command line can do it in seconds.

You Feel Like a Pro: There’s something really satisfying about accomplishing tasks through commands. You’ll feel like you really understand how your computer works.

It’s More Powerful: Some things you simply can’t do with clicking and dragging. The Terminal gives you access to tons of advanced features.

Better for Troubleshooting: When things go wrong (and they sometimes do), the Terminal often gives you clearer information about what’s happening.

It’s Universal: Terminal commands work the same way across different Linux systems. Once you learn them, you can use any Linux computer.

Automation Friendly : The Terminal lets you automate repetitive tasks with scripts and tools — whether it’s organizing files, backing up data, or deploying web servers.

Opening and Using the Terminal

Ready to take the plunge? Let’s open up the Terminal!

How to Open the Terminal:

The exact method depends on which version of Linux you’re using, but here are the most common ways:

  1. Keyboard Shortcut: Press Ctrl + Alt + T (this works on most Linux systems)
  2. Through the Menu: Look for “Terminal” or “Command Line” in your applications menu
  3. Right-click Method: On many systems, you can right-click on the desktop and select “Open Terminal”

If you’re using Arch, you can probably help your neighbor open the terminal. 🙂

When you open it, you’ll see something like this:

username@computername:~$

Don’t worry about what all that means right now - just know that the $ symbol is where you’ll type your commands.

Your First Commands:

Let’s try some super basic commands to get you comfortable:

  1. Type pwd and press Enter

    • This shows you which folder you’re currently in (PWD stands for “Print Working Directory”)
  2. Type ls and press Enter

    • This lists all the files and folders in your current location
  3. Type whoami and press Enter

    • This tells you your username (useful when you forget!)

See? That wasn’t so scary! You just ran your first Terminal commands.

A Few Friendly Tips:

  • If you make a typo, just press Backspace to delete and retype
  • You can press the Up arrow key to bring back your previous command
  • If you get stuck or something seems frozen, try pressing Ctrl + C to stop the current command
  • Don’t worry about breaking anything — the Terminal will usually warn you before doing anything destructive. (Of course, you can bypass those warnings too, because you have full power… but with great power comes great responsibility!)

What’s Next?

In our next chapter, we’ll dive deeper into navigating around your file system using the Terminal. You’ll learn how to move between folders, create new files, and organize your stuff - all without touching your mouse!

I promise it gets more fun as we go along. The Terminal might seem intimidating at first, but once you get comfortable with it, you’ll wonder how you ever lived without it.

Take some time to play around with those basic commands I mentioned. Get familiar with opening the Terminal and don’t be afraid to experiment. The best way to learn is by doing!

See you in Chapter 2!

post not found
post not found
post not found
post not found