Linux for Beginners - Essential Commands Every IT Girl Must Know
By Tatiana Mikhaleva ยท Founder & Senior Developer Advocate
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! ๐
Navigating Like a Pro: Moving Around Folders
๐ก 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)
pwd๐ This tells you which folder youโre in. Super useful if you ever feel lost.
2 Whatโs Inside This Folder? (List Files)
ls๐ This shows all files and folders in the current directory.
๐ Pro tip:
- Use
ls -lfor more details (file size, date, owner). - Use
ls -ato see hidden files (yes, Linux hides stuff from you).
3 Moving Between Folders (Change Directory)
cd foldername๐ Moves you into a folder.
Want to go back?
cd ..๐ Moves up one level.
Or just type:
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)
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)
touch myfile.txt๐ Creates an empty file. Perfect for testing.
6 Move or Rename a File (mv)
mv oldname.txt newname.txt๐ Works for renaming files AND moving them.
๐ Example: Move a file into a folder:
mv myfile.txt myfolder/Now itโs inside myfolder. So neat!
7 Copy a File (cp)
cp myfile.txt copyfile.txt๐ Now you have a duplicate!
Want to copy a whole folder?
cp -r myfolder newfolder๐ The -r flag copies everything inside too!
8 Delete a File (rm)
rm myfile.txt๐ Bye-bye, file!
Be super careful! If you use:
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)
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
qto exit.
10 Edit a File (nano)
nano myfile.txt๐ Opens a simple text editor inside the terminal.
Running Programs & Managing Processes
Check Running Processes
ps aux๐ Shows all running programs.
Kill a Stuck Program
kill PID๐ Or use:
pkill -f process_name๐ This kills the process by name (super handy!).
Bonus IT Girl Tricks!
Redirecting Output: > vs >>
echo "Hello" > file.txtoverwrites the file.echo "Hello" >> file.txtadds text to the file without deleting old content.
View Command History
history๐ Lists all commands youโve usedโno more โWhat was that command again?โ moments!
Find Any File
find / -name "filename"๐ Searches for a file anywhere on your system.
Want something faster?
locate filename๐ But first, run:
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! ๐
Related Posts
- 1AI SRE Joined My On-Call โ A Beginner-Friendly Walkthrough of RootlyDevOps & 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.
- 2Stop Lying About Your Backups โ Zero-Trust Recovery with PlakarDevOps & Cloud ยท Learn how to master Terraform tags for cloud resource management, automation, and cost tracking. Discover best practices, default tags, and merging strategies!
- 3Escaping the Command Line Cartel: Why I Mandate Visual Git in Enterprise DXDevOps & 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.
- 4Kubernetes 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
- 1How Generative AI Actually Understands YouAI & MLOps ยท Discover how generative AI understands text, images, video, and sound โ explained simply with real examples of tokens, chunks, and embeddings.
- 2What Kind of Data Does AI UseAI & MLOps ยท Discover the main types of data AI uses โ structured, unstructured, labeled, and unlabeled โ explained in plain words with fun, relatable examples.
- 3How AI Models Are Really Trained - From Idea to RealityAI & MLOps ยท Learn how AI models are trained step by step โ from data prep to deployment. Simple, beginner-friendly guide with real-life examples.
- 4Top Machine Learning YouTube Courses to Fuel Your Tech PassionAI & 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.