892 words
4 minutes

Linux for Beginners - Essential Commands Every IT Girl Must Know

Cover image for Linux for Beginners - Essential Commands Every IT Girl Must Know

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.

Today, I’m sharing 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 dive in! πŸš€


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 let’s be realβ€”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! πŸš€


Tools I Personally Trust#

If you want to make your digital life a little calmer - here are two tools I use every day:

πŸ›Έ Proton VPN - A trusted VPN that secures your Wi-Fi, hides your IP, and blocks trackers. Even in that no-password cafΓ© Wi-Fi, you’re safe.

πŸ”‘ Proton Pass - A password manager with on-device encryption. Passwords, logins, 2FA - always with you, and only for you.

These are partner links - you won’t pay a cent more, but you’ll be supporting DevOps.Pink. Thank you - it really means a lot πŸ’–


Social Channels#

🎬 YouTube
🐦 X (Twitter)
🎨 Instagram
🐘 Mastodon
🧡 Threads
🎸 Facebook
πŸ¦‹ Bluesky
πŸŽ₯ TikTok
πŸ’» LinkedIn
πŸ“£ daily.dev Squad
✈️ Telegram
🐈 GitHub


Community of IT Experts#

πŸ‘Ύ Discord


Refill My Coffee Supplies#

πŸ’– PayPal
πŸ† Patreon
πŸ₯€ BuyMeaCoffee
πŸͺ Ko-fi
⚑ Telegram Boost


Is this content AI-generated?

Absolutely not! Every article is written by me, driven by a genuine passion for Docker and backed by decades of experience in IT. I do use AI tools to polish grammar and enhance clarity, but the ideas, strategies, and technical insights are entirely my own. While this might occasionally trigger AI detection tools, rest assuredβ€”the knowledge and experience behind the content are 100% real and personal.

Linux for Beginners - Essential Commands Every IT Girl Must Know
https://www.devops.pink/linux-for-beginners-essential-commands-every-it-girl-must-know/
Author
Tatiana Mikhaleva
Published at
2025-03-10
License
CC BY-NC-SA 4.0