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! π
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! π
Tools I Personally Trust
If youβre building things, breaking things, or just trying to keep your digital life a little calmer - these are tools I actually use every day:
πΈ Proton VPN (60% off link) - my invisible cloak online. It secures your Wi-Fi, hides your IP, and blocks trackers - even on the sketchiest cafe Wi-Fi.
π Proton Pass (50% off link) - my password vault. On-device encryption for logins, 2FA, and notes - all mine and only mine.
π¦ GitKraken Pro (50% off link) - my visual Git sidekick. Gorgeous commit graph, painless merges, and fewer βwhat just broke?β moments.
π These links give you sweet discounts - and help support DevOps.Pink at no extra cost. Thanks a ton!
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