722 words
4 minutes

Linux for Beginners - Essential Commands Every IT Girl Must Know

By ยท Founder & Senior Developer Advocate
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! ๐Ÿš€


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
    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.
  2. 2
    Stop Lying About Your Backups โ€” Zero-Trust Recovery with Plakar
    DevOps & Cloud ยท Learn how to master Terraform tags for cloud resource management, automation, and cost tracking. Discover best practices, default tags, and merging strategies!
  3. 3
    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.
  4. 4
    Kubernetes Is No Longer Number One โ€” The REAL 2025 Cloud Native Report (CNCF x SlashData)
    DevOps & Cloud ยท Kubernetes is no longer number one. The 2025 CNCF x SlashData report reveals the real cloud-native trends โ€” backend growth, DevOps adoption, AI gaps, and the technologies developers actually use.

Random Posts

Random
  1. 1
    How Generative AI Actually Understands You
    AI & MLOps ยท Discover how generative AI understands text, images, video, and sound โ€” explained simply with real examples of tokens, chunks, and embeddings.
  2. 2
    What Kind of Data Does AI Use
    AI & MLOps ยท Discover the main types of data AI uses โ€” structured, unstructured, labeled, and unlabeled โ€” explained in plain words with fun, relatable examples.
  3. 3
    How AI Models Are Really Trained - From Idea to Reality
    AI & MLOps ยท Learn how AI models are trained step by step โ€” from data prep to deployment. Simple, beginner-friendly guide with real-life examples.
  4. 4
    Top Machine Learning YouTube Courses to Fuel Your Tech Passion
    AI & MLOps ยท This guide offers a complete pathway for learners at every stage of their machine learning and deep learning journey, helping you navigate and excel in the evolving world of tech.
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