718 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 — Signal over noise in cloud-native & AI.

Pink Signal

The cloud-native stack, without the gatekeeping

Docker, Kubernetes, and the agentic-AI era — hands-on and clearly explained, for engineers who actually ship. Pink Signal lands in your inbox when there's something worth knowing.

Related Posts

Same category
  1. 1
    The Terminal Was Never the Point: Managing Parallel AI Coding Agents
    DevOps & Cloud · Claude Code, Codex, and Copilot agents now edit your repo in parallel, and a terminal shows one at a time. Why visual Git tooling became the control tower.
  2. 2
    The Runbook You Didn't Write Is Already Running in Production
    DevOps & Cloud · Your vendor's opinion of how to run their product now ships as an executable AI agent skill. Six places it breaks in production, and six questions to ask first.
  3. 3
    The Industry Is Hiring DevRel for Yesterday
    DevOps & Cloud · Developer Relations builds the AI future, then hires its advocates with 2012 HR scripts. Eight symptoms of DevRel hiring broken by fear, and the fix.
  4. 4
    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.

Random Posts

Random
  1. 1
    DevSecOps Explained - Security for DevOps in 2025
    DevOps & Cloud · A no-fluff DevSecOps guide for DevOps engineers. Learn how to build secure pipelines, protect secrets, and integrate security from day one.
  2. 2
    The Terminal Was Never the Point: Managing Parallel AI Coding Agents
    DevOps & Cloud · Claude Code, Codex, and Copilot agents now edit your repo in parallel, and a terminal shows one at a time. Why visual Git tooling became the control tower.
  3. 3
    Kubernetes Is No Longer Number One — The REAL 2025 Cloud Native Report (CNCF x SlashData)
    DevOps & Cloud · Kubernetes is no longer #1. The 2025 CNCF x SlashData report on the real cloud-native trends — backend growth, DevOps adoption, and the AI gaps.
  4. 4
    Docker for Girls - Understanding docker ps Once and For All
    DevOps & Cloud · Learn docker ps easily! This fun and beginner-friendly guide breaks down the Docker command to list, filter, and inspect containers.
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