717 words
4 minutes

Linux for Beginners - Essential Commands Every IT Girl Must Know

By · Developer Advocate · Docker Captain · IBM Champion
Side angle of a woman's hands typing on a silver Apple Magic Keyboard connected to an iMac on a white desk, with soft amber light coming from the right

Hey, lovely tech queens! 👩‍💻✨

If you’re stepping into the world of Linux, welcome to the coolest club ever! I know, the command line can look super intimidating at first (been there, freaked out 🙈), but trust me—once you get the hang of it, you’ll feel like a total hacker goddess.

Here’s my ultimate Linux cheat sheet—the basic commands every IT girl needs to master. These will help you navigate, manage files, and work like a pro. Let’s go! 🚀

First Things First: Why Even Bother with Linux?#

So, why are we talking about Linux when macOS and Windows exist? Because real IT girls know that:

✔️ Most servers run on Linux, so if you dream of a tech career, you NEED this.
✔️ Developers and cybersecurity pros swear by it—like, ethical hacking? Linux is your BFF.
✔️ It’s free, open-source, and powerful—total boss babe energy.

And honestly—nothing screams I know my sht* like typing commands in a black terminal.

Getting Started: Open That Terminal!#

Before we slay the Linux game, let’s open the terminal:

  • On Linux: Ctrl + Alt + T
  • On Mac: Use “Terminal” from Spotlight (Cmd + Space, then type “Terminal”).
  • On Windows: Install WSL (Windows Subsystem for Linux) or use Git Bash.

Alright, let’s get into the commands that will make you feel like a total IT girl! 💅

💡 The first thing you need to learn is how to navigate your system. Forget clicking around—let’s move like a boss in the terminal.

1 Where Am I? (Check Current Directory)#

Terminal window
pwd

📌 This tells you which folder you’re in. Super useful if you ever feel lost.

2 What’s Inside This Folder? (List Files)#

Terminal window
ls

📌 This shows all files and folders in the current directory.

💖 Pro tip:

  • Use ls -l for more details (file size, date, owner).
  • Use ls -a to see hidden files (yes, Linux hides stuff from you).

3 Moving Between Folders (Change Directory)#

Terminal window
cd foldername

📌 Moves you into a folder.

Want to go back?

Terminal window
cd ..

📌 Moves up one level.

Or just type:

Terminal window
cd ~

📌 Takes you straight to your home directory.

Think of these commands as teleporting through your files. No more aimless clicking!

File & Folder Magic: Creating, Moving & Deleting#

Alright, now that we can move around, let’s start making things happen!

4 Create a New Folder (mkdir)#

Terminal window
mkdir myfolder

📌 Boom! A new folder is born.

💖 Pro tip:

  • Want to create multiple nested folders? Use mkdir -p parent/child/grandchild.

5 Create a New File (touch)#

Terminal window
touch myfile.txt

📌 Creates an empty file. Perfect for testing.

6 Move or Rename a File (mv)#

Terminal window
mv oldname.txt newname.txt

📌 Works for renaming files AND moving them.

💖 Example: Move a file into a folder:

Terminal window
mv myfile.txt myfolder/

Now it’s inside myfolder. So neat!

7 Copy a File (cp)#

Terminal window
cp myfile.txt copyfile.txt

📌 Now you have a duplicate!

Want to copy a whole folder?

Terminal window
cp -r myfolder newfolder

📌 The -r flag copies everything inside too!

8 Delete a File (rm)#

Terminal window
rm myfile.txt

📌 Bye-bye, file!

Be super careful! If you use:

Terminal window
rm -r myfolder

📌 It deletes the entire folder + its contents. No undo! 😱

Reading & Editing Files#

Alright, let’s check what’s inside our files.

9 Read a File (cat)#

Terminal window
cat myfile.txt

📌 Shows the contents of a file instantly.

💖 Pro tip:

  • If the file is too long, use:

    Terminal window
    less myfile.txt

    📌 This lets you scroll through it. Press q to exit.

10 Edit a File (nano)#

Terminal window
nano myfile.txt

📌 Opens a simple text editor inside the terminal.

Running Programs & Managing Processes#

Check Running Processes#

Terminal window
ps aux

📌 Shows all running programs.

Kill a Stuck Program#

Terminal window
kill PID

📌 Or use:

Terminal window
pkill -f process_name

📌 This kills the process by name (super handy!).

Bonus IT Girl Tricks!#

Redirecting Output: > vs >>#

  • echo "Hello" > file.txt overwrites the file.
  • echo "Hello" >> file.txt adds text to the file without deleting old content.

View Command History#

Terminal window
history

📌 Lists all commands you’ve used—no more “What was that command again?” moments!

Find Any File#

Terminal window
find / -name "filename"

📌 Searches for a file anywhere on your system.

Want something faster?

Terminal window
locate filename

📌 But first, run:

Terminal window
sudo updatedb

📌 This updates the file database for locate.

Final Thoughts: Own That Terminal, Queen!#

So, my fellow IT girl, this is your Linux survival kit. These commands will help you navigate like a pro, manage files, and even kill frozen programs like a boss.

💡 Your next steps:

Practice these commands daily.
Start using Linux as your main OS (if possible).
Experiment & break things—just don’t delete your whole system! 😆

And remember, every tech queen starts somewhere—the key is to keep learning. 💕

💬 Got questions? Comment below, and let’s geek out together! 🚀


Tatiana Mikhaleva

Docker Captain  ·  IBM Champion  ·  AWS Community Builder

DevOps.Pink — cloud-native education for the agentic-AI era.

Related Posts

Same category
  1. 1
    How to Secure AI Agents in Production: IBM's Six-Phase Framework
    DevOps & Cloud · Teams secure AI agents like normal software, and production breaks. Here's IBM and Anthropic's six-phase framework for securing them, phase by phase.
  2. 2
    Your AI Agent Doesn't Need a Better Prompt. It Needs a Ceiling
    DevOps & Cloud · A prompt is not a security control. It's a wish. The Vault → Sentinel → MCP → ADLC → watsonx Orchestrate stack that gives AI agents a hard ceiling — and why IBM consolidating HashiCorp made the whole thing boring, in the best possible way.
  3. 3
    CNCF Q1 2026 Report — Why Feature Flagging Is the Hidden Gateway to Cloud Native Maturity
    DevOps & Cloud · CNCF Q1 2026 cloud native report analysis. Why feature flagging is the bridge from mainstream to advanced engineering practice, with exclusive commentary from the report's author.
  4. 4
    AI SRE Joined My On-Call — A Beginner-Friendly Walkthrough of Rootly
    DevOps & Cloud · What an AI SRE actually does on call. A hands-on walkthrough of Rootly — how it observes, advises, and (when you let it) acts. With a real look at the four-level trust model.

Random Posts

Random
  1. 1
    Escaping the Command Line Cartel: Why I Mandate Visual Git in Enterprise DX
    DevOps & Cloud · Relying purely on the terminal is a toxic DX dependency. Discover how architecting visual version control with GitKraken eliminates cognitive load, enforces psychological safety, and scales enterprise DevOps.
  2. 2
    Kubernetes on Your Laptop — No Cloud, No Boring Docs, Just Magic
    DevOps & Cloud · Kubernetes tutorial for beginners. Learn to run a full local cluster with Docker, Minikube, YAML, Pods, Deployments, Secrets — no cloud needed.
  3. 3
    Your First Git Commit - A Beginner-Friendly Guide to Version Control
    DevOps & Cloud · A simple Git tutorial for beginners. Learn how to install Git, set it up, and make your first commit — no experience needed.
  4. 4
    Inside Helm - How Charts, Releases, and State Work in Kubernetes
    DevOps & Cloud · Learn how Helm really works under the hood — charts, releases, and Kubernetes state management explained in plain DevOps language.
Linux for Beginners - Essential Commands Every IT Girl Must Know
https://devops.pink/linux-for-beginners-essential-commands-every-it-girl-must-know/
Author
Tatiana Mikhaleva
Published
2025-03-10
License
CC BY-NC-SA 4.0