Linux Navigation Commands โ Basics Every Linux User MUST Know
Ever felt lost inside the Linux filesystem?
These basic commands are how every Linux user moves confidently ๐
๐น pwd โ Show your current directory
๐น ls โ List files and folders
๐น cd โ Change directories
๐น Hidden Files โ Files starting with a dot (.)
๐น Absolute Path โ Full path starting from /
๐น Relative Path โ Path based on current location
๐ฆ Navigation Tips
โ๏ธ ls -a โ shows hidden files
โ๏ธ cd .. โ move one level up
โ๏ธ cd ~ โ go to home directory
โ๏ธ pwd โ always know where you are
๐ก Why this matters?
Because one wrong path can delete the wrong data.
If you donโt understand paths, Linux becomes dangerous.
๐ฏ Perfect for:
โ๏ธ Linux beginners
โ๏ธ DevOps / SRE aspirants
โ๏ธ Interview preparation
โ๏ธ Daily terminal usage
๐ฌ Comment โPATHโ if you want the next Linux cheat sheet.
Ever felt lost inside the Linux filesystem?
These basic commands are how every Linux user moves confidently ๐
๐น pwd โ Show your current directory
๐น ls โ List files and folders
๐น cd โ Change directories
๐น Hidden Files โ Files starting with a dot (.)
๐น Absolute Path โ Full path starting from /
๐น Relative Path โ Path based on current location
๐ฆ Navigation Tips
โ๏ธ ls -a โ shows hidden files
โ๏ธ cd .. โ move one level up
โ๏ธ cd ~ โ go to home directory
โ๏ธ pwd โ always know where you are
๐ก Why this matters?
Because one wrong path can delete the wrong data.
If you donโt understand paths, Linux becomes dangerous.
๐ฏ Perfect for:
โ๏ธ Linux beginners
โ๏ธ DevOps / SRE aspirants
โ๏ธ Interview preparation
โ๏ธ Daily terminal usage
๐ฌ Comment โPATHโ if you want the next Linux cheat sheet.
Linux Help System โ Tools Every Linux Admin MUST Use
Ever wondered how Linux admins learn new commands so fast?
They donโt memorize commands โ they read the help system ๐
๐น man โ The official manual pages
๐น info โ Detailed GNU documentation
๐น --help โ Quick command usage reference
๐น Why man matters โ Written by the people who built the tools
๐ฆ How admins actually use help
โ๏ธ man command โ deep understanding
โ๏ธ command --help โ quick syntax check
โ๏ธ info command โ structured documentation
๐ก Why this matters?
Because Googling commands doesnโt scale.
If you canโt read man pages, youโll always depend on others.
๐ฏ Perfect for:
โ๏ธ Linux beginners
โ๏ธ DevOps / SRE aspirants
โ๏ธ Interview preparation
โ๏ธ Production troubleshooting
๐ฌ Comment โMANโ if you want the next Linux cheat sheet.
Ever wondered how Linux admins learn new commands so fast?
They donโt memorize commands โ they read the help system ๐
๐น man โ The official manual pages
๐น info โ Detailed GNU documentation
๐น --help โ Quick command usage reference
๐น Why man matters โ Written by the people who built the tools
๐ฆ How admins actually use help
โ๏ธ man command โ deep understanding
โ๏ธ command --help โ quick syntax check
โ๏ธ info command โ structured documentation
๐ก Why this matters?
Because Googling commands doesnโt scale.
If you canโt read man pages, youโll always depend on others.
๐ฏ Perfect for:
โ๏ธ Linux beginners
โ๏ธ DevOps / SRE aspirants
โ๏ธ Interview preparation
โ๏ธ Production troubleshooting
๐ฌ Comment โMANโ if you want the next Linux cheat sheet.
Linux File & Directory Management โ Commands Every Linux User MUST Know
How do Linux users actually create files and folders in real systems?
These are the basic commands used daily on servers ๐
๐น touch โ Create empty files instantly
๐น mkdir โ Create directories
๐น mkdir -p โ Create nested directories
๐น tree โ View directory structure visually
๐ฆ Practical Usage
โ๏ธ touch app.log โ create log files
โ๏ธ mkdir backups โ create folders
โ๏ธ mkdir -p /opt/app/config โ nested structure
โ๏ธ tree /project โ understand layouts fast
๐ก Why this matters?
Because servers donโt have โNew Folderโ buttons.
If you canโt create and organize files properly, you canโt manage Linux systems.
๐ฏ Perfect for:
โ๏ธ Linux beginners
โ๏ธ DevOps / SRE aspirants
โ๏ธ Interview preparation
โ๏ธ Daily production work
๐ฌ Comment โFILESโ if you want the next Linux cheat sheet.
How do Linux users actually create files and folders in real systems?
These are the basic commands used daily on servers ๐
๐น touch โ Create empty files instantly
๐น mkdir โ Create directories
๐น mkdir -p โ Create nested directories
๐น tree โ View directory structure visually
๐ฆ Practical Usage
โ๏ธ touch app.log โ create log files
โ๏ธ mkdir backups โ create folders
โ๏ธ mkdir -p /opt/app/config โ nested structure
โ๏ธ tree /project โ understand layouts fast
๐ก Why this matters?
Because servers donโt have โNew Folderโ buttons.
If you canโt create and organize files properly, you canโt manage Linux systems.
๐ฏ Perfect for:
โ๏ธ Linux beginners
โ๏ธ DevOps / SRE aspirants
โ๏ธ Interview preparation
โ๏ธ Daily production work
๐ฌ Comment โFILESโ if you want the next Linux cheat sheet.
Linux Networking: When Things Donโt Connect
When something fails to connect on Linux, the first question usually isnโt โIs the service running?โ
Itโs more often: โIs the right port open?โ
Most popular ports ๐
๐น 80 / 443 โ Web traffic (HTTP vs HTTPS)
๐น 22 โ SSH (remote access)
๐น 53 โ DNS (name resolution)
๐น 21 / 69 โ File transfer (FTP / TFTP)
๐น 67 / 68 โ DHCP (IP assignment)
๐น 123 โ NTP (time synchronization)
๐น 161 / 162 โ SNMP (monitoring)
๐น 23 โ Telnet (still shows upโฆ sometimes)
๐ฆ Practical reality
โ๏ธ Service is running, but firewall blocks the port
โ๏ธ App is listening, but on the wrong interface
โ๏ธ DNS works locally, not remotely
โ๏ธ โConnection refusedโ suddenly makes sense
Once this clicks:
โข Firewall rules stop feeling random
โข ss, netstat, firewalld output becomes readable
โข Troubleshooting gets faster and calmer
๐ฏ Useful for
โ๏ธ Linux beginners
โ๏ธ Sysadmins / DevOps engineers
โ๏ธ Production troubleshooting
โ๏ธ Interview prep (real-world, not theory)
When something fails to connect on Linux, the first question usually isnโt โIs the service running?โ
Itโs more often: โIs the right port open?โ
Most popular ports ๐
๐น 80 / 443 โ Web traffic (HTTP vs HTTPS)
๐น 22 โ SSH (remote access)
๐น 53 โ DNS (name resolution)
๐น 21 / 69 โ File transfer (FTP / TFTP)
๐น 67 / 68 โ DHCP (IP assignment)
๐น 123 โ NTP (time synchronization)
๐น 161 / 162 โ SNMP (monitoring)
๐น 23 โ Telnet (still shows upโฆ sometimes)
๐ฆ Practical reality
โ๏ธ Service is running, but firewall blocks the port
โ๏ธ App is listening, but on the wrong interface
โ๏ธ DNS works locally, not remotely
โ๏ธ โConnection refusedโ suddenly makes sense
Once this clicks:
โข Firewall rules stop feeling random
โข ss, netstat, firewalld output becomes readable
โข Troubleshooting gets faster and calmer
๐ฏ Useful for
โ๏ธ Linux beginners
โ๏ธ Sysadmins / DevOps engineers
โ๏ธ Production troubleshooting
โ๏ธ Interview prep (real-world, not theory)
This media is not supported in your browser
VIEW IN TELEGRAM
Effective Linux troubleshooting is not about knowing more commands.
Itโs about understanding where a failure can occur and isolating it systematically.
This breakdown shows the mindset used by Linux administrators and DevOps engineers when handling real production issues.
Itโs about understanding where a failure can occur and isolating it systematically.
This breakdown shows the mindset used by Linux administrators and DevOps engineers when handling real production issues.
When Linux Tasks Stop Being One-Time โ And Start Needing Care
User and group management looks easy at first.
Run a command. Done. Move on.
But real systems donโt work like that.
Thatโs when โone-time commandsโ start causing problems.
What changes at that point?
Instead of just running useradd, you start thinking about:
๐น Is this safe to run again?
๐น Will it fail clearly if something is wrong?
๐น Can someone else understand what happened later?
๐น Is there a log instead of tribal memory?
What this script does differently
โ๏ธ Checks for proper privileges
โ๏ธ Avoids breaking if run twice (idempotent)
โ๏ธ Creates users and groups predictably
โ๏ธ Logs every action with timestamps
โ๏ธ Leaves an audit trail you can trust
๐ก Why this matters
Servers donโt remember what you typed last week.
People leave.
Tickets donโt tell the full story.
Logs do.
This is how small scripts slowly turn into reliable admin tools.
User and group management looks easy at first.
Run a command. Done. Move on.
But real systems donโt work like that.
Thatโs when โone-time commandsโ start causing problems.
What changes at that point?
Instead of just running useradd, you start thinking about:
๐น Is this safe to run again?
๐น Will it fail clearly if something is wrong?
๐น Can someone else understand what happened later?
๐น Is there a log instead of tribal memory?
What this script does differently
โ๏ธ Checks for proper privileges
โ๏ธ Avoids breaking if run twice (idempotent)
โ๏ธ Creates users and groups predictably
โ๏ธ Logs every action with timestamps
โ๏ธ Leaves an audit trail you can trust
๐ก Why this matters
Servers donโt remember what you typed last week.
People leave.
Tickets donโt tell the full story.
Logs do.
This is how small scripts slowly turn into reliable admin tools.
Linux Components Explained โ What Actually Runs Your System
Linux isnโt just a list of commands you memorize.
Itโs a set of components working together behind the scenes.
This breakdown shows the core building blocks every Linux system relies on ๐
๐น Kernel โ The core that talks to CPU, memory, and hardware
๐น System calls โ How applications request work from the kernel
๐น Process management โ Running programs, PIDs, scheduling
๐น Memory management โ RAM, swap, paging, OOM handling
๐น File system โ Files, directories, permissions, mounts
๐น Device management โ Hardware exposed via /dev
๐น Init system (systemd) โ Boots the system and manages services
๐น Services (daemons) โ Background processes like sshd, nginx
๐น Networking stack โ IPs, ports, routing, firewalls
๐น Users & permissions โ Who can do what
๐น Logs โ Why things happened, not just what happened
๐น Package management โ Installing and updating software
Linux isnโt just a list of commands you memorize.
Itโs a set of components working together behind the scenes.
This breakdown shows the core building blocks every Linux system relies on ๐
๐น Kernel โ The core that talks to CPU, memory, and hardware
๐น System calls โ How applications request work from the kernel
๐น Process management โ Running programs, PIDs, scheduling
๐น Memory management โ RAM, swap, paging, OOM handling
๐น File system โ Files, directories, permissions, mounts
๐น Device management โ Hardware exposed via /dev
๐น Init system (systemd) โ Boots the system and manages services
๐น Services (daemons) โ Background processes like sshd, nginx
๐น Networking stack โ IPs, ports, routing, firewalls
๐น Users & permissions โ Who can do what
๐น Logs โ Why things happened, not just what happened
๐น Package management โ Installing and updating software
Linux Copy, Move & Delete (Read Before You Run rm)
Three commands every Linux user relies on โ and sometimes fears:
โข cp โ copy files and directories
โข mv โ move or rename
โข rm โ delete (permanently)
โ ๏ธ Danger zones: /, /etc, /var, /home
Safe habits that actually help:
โ๏ธ ls before rm
โ๏ธ use rm -i for confirmation
โ๏ธ double-check absolute vs relative paths
โ๏ธ never run rm -rf blindly
Linux doesnโt forgive mistakes.
Production outages often start with one wrong command.
Three commands every Linux user relies on โ and sometimes fears:
โข cp โ copy files and directories
โข mv โ move or rename
โข rm โ delete (permanently)
โ ๏ธ Danger zones: /, /etc, /var, /home
Safe habits that actually help:
โ๏ธ ls before rm
โ๏ธ use rm -i for confirmation
โ๏ธ double-check absolute vs relative paths
โ๏ธ never run rm -rf blindly
Linux doesnโt forgive mistakes.
Production outages often start with one wrong command.
Linux File Viewing Commands (Youโll Use These Daily)
Admins rarely open editors just to read files.
These commands do the job safely:
โข cat โ small files only
โข less โ large files (scroll, search, quit safely)
โข more โ basic pagination
โข head โ first few lines
โข tail โ last lines
โข tail -f โ follow logs live
Good habits:
โ๏ธ less > cat for logs
โ๏ธ tail -f during incidents
โ๏ธ always double-check paths
Logs explain why things broke.
If you canโt read them, troubleshooting is blind.
Admins rarely open editors just to read files.
These commands do the job safely:
โข cat โ small files only
โข less โ large files (scroll, search, quit safely)
โข more โ basic pagination
โข head โ first few lines
โข tail โ last lines
โข tail -f โ follow logs live
Good habits:
โ๏ธ less > cat for logs
โ๏ธ tail -f during incidents
โ๏ธ always double-check paths
Logs explain why things broke.
If you canโt read them, troubleshooting is blind.
Linux File Types (The part many people skip)
Linux says โeverything is a fileโ, but they donโt all behave the same.
Common types you see every day:
- regular files (scripts, configs, binaries)
d directories
l symlinks (pointers)
b block devices (disks)
c character devices (terminal, keyboard)
How to check:
โ๏ธ ls -l โ first character
โ๏ธ file filename โ real type
โ๏ธ /dev โ device files live here
Why this matters:
Permissions and commands behave differently depending on file type.
If you ignore that, mistakes get expensive.
Linux says โeverything is a fileโ, but they donโt all behave the same.
Common types you see every day:
- regular files (scripts, configs, binaries)
d directories
l symlinks (pointers)
b block devices (disks)
c character devices (terminal, keyboard)
How to check:
โ๏ธ ls -l โ first character
โ๏ธ file filename โ real type
โ๏ธ /dev โ device files live here
Why this matters:
Permissions and commands behave differently depending on file type.
If you ignore that, mistakes get expensive.
Linux Wildcards & Globbing (Work Faster, Not Riskier)
Wildcards let you operate on many files at once โ safely if you know what they match.
Common patterns:
โข * โ matches anything
โข ? โ single character
โข [] โ range or set
Examples:
โ๏ธ *.log โ all log files
โ๏ธ file?.txt โ file1.txt, file2.txt
โ๏ธ report[1-3].pdf โ report1โ3.pdf
โ ๏ธ Good to remember:
โข the shell expands wildcards
โข rm *.log deletes everything it matches
โข always double-check destructive commands
Wildcards save time โ but only if used carefully.
Wildcards let you operate on many files at once โ safely if you know what they match.
Common patterns:
โข * โ matches anything
โข ? โ single character
โข [] โ range or set
Examples:
โ๏ธ *.log โ all log files
โ๏ธ file?.txt โ file1.txt, file2.txt
โ๏ธ report[1-3].pdf โ report1โ3.pdf
โ ๏ธ Good to remember:
โข the shell expands wildcards
โข rm *.log deletes everything it matches
โข always double-check destructive commands
Wildcards save time โ but only if used carefully.
Linux permissions tip
Many access issues arenโt caused by permissions โ theyโre caused by ownership.
Linux access order:
Owner
Group
Others
Permissions define what can be done.
Ownership defines who those rules apply to.
Common production lessons:
chmod wonโt fix wrong ownership
Recursive permission changes are risky
Root errors cause the biggest damage
Once you understand this, permission issues get easier to debug.
๐ฌ What mistake do you see most often?
Many access issues arenโt caused by permissions โ theyโre caused by ownership.
Linux access order:
Owner
Group
Others
Permissions define what can be done.
Ownership defines who those rules apply to.
Common production lessons:
chmod wonโt fix wrong ownership
Recursive permission changes are risky
Root errors cause the biggest damage
Once you understand this, permission issues get easier to debug.
๐ฌ What mistake do you see most often?
DHCP Components Explained
DHCP is what assigns IP addresses automatically when a device joins a network.
Key components:
โข DHCP Client โ Requests IP
โข DHCP Server โ Assigns IP
โข IP Pool โ Available addresses
โข Lease Time โ Validity duration
โข DNS & Gateway โ Network config
โข DHCP Relay โ Cross-network support
โข Reservation โ Fixed IP via MAC
โข DORA โ Discover โ Offer โ Request โ Acknowledge
If this mental model clicks, networking becomes much easier.
๐ Save this for revision.
DHCP is what assigns IP addresses automatically when a device joins a network.
Key components:
โข DHCP Client โ Requests IP
โข DHCP Server โ Assigns IP
โข IP Pool โ Available addresses
โข Lease Time โ Validity duration
โข DNS & Gateway โ Network config
โข DHCP Relay โ Cross-network support
โข Reservation โ Fixed IP via MAC
โข DORA โ Discover โ Offer โ Request โ Acknowledge
If this mental model clicks, networking becomes much easier.
๐ Save this for revision.
Linux Security โ Part 1: Essentials
This is the foundation layer.
Before intrusion prevention, SELinux, or kernel tuning, Linux systems need:
updates
proper users
sane passwords
SSH basics
firewall rules
permission hygiene
Simple checks. Big impact.
Whatโs the first security step you apply on a new install?
This is the foundation layer.
Before intrusion prevention, SELinux, or kernel tuning, Linux systems need:
updates
proper users
sane passwords
SSH basics
firewall rules
permission hygiene
Simple checks. Big impact.
Whatโs the first security step you apply on a new install?
Linux Security โ Part 2: Advanced Hardening
After basic hygiene, this is where real protection starts.
Privilege control
Audit visibility
Network and kernel tuning
Service isolation
These are the measures that matter when something does go wrong.
Whatโs the first hardening step you add on production systems?
After basic hygiene, this is where real protection starts.
Privilege control
Audit visibility
Network and kernel tuning
Service isolation
These are the measures that matter when something does go wrong.
Whatโs the first hardening step you add on production systems?
Linux 7.0 confirmed after 6.19 โ version bump similar to 5.x โ 6.0 transition
Linus confirmed that the next kernel release after 6.19 will be 7.0.
As with previous major version bumps, this is not tied to a massive architectural change. The numbering change appears to be primarily for version simplicity rather than technical necessity similar to the 5.x โ 6.0 transition.
The merge window opens with over three dozen pull requests already queued as wrote by Linus Torvalds , suggesting a typical development cycle rather than a disruptive shift.
So far, this looks like:
- Normal merge window process
- Standard -rc cycle expected
- No ABI reset or structural overhaul implied
Worth tracking what lands during the 7.0 cycle.
Linus confirmed that the next kernel release after 6.19 will be 7.0.
As with previous major version bumps, this is not tied to a massive architectural change. The numbering change appears to be primarily for version simplicity rather than technical necessity similar to the 5.x โ 6.0 transition.
The merge window opens with over three dozen pull requests already queued as wrote by Linus Torvalds , suggesting a typical development cycle rather than a disruptive shift.
So far, this looks like:
- Normal merge window process
- Standard -rc cycle expected
- No ABI reset or structural overhaul implied
Worth tracking what lands during the 7.0 cycle.
๐ Linux User & Group Management โ Complete Cheatsheet
This covers:
โข /etc/passwd, shadow, group
โข useradd, usermod, userdel
โข groupadd, gpasswd
โข passwd, chage
โข sudo & privilege control
โข ACL (setfacl)
โข Session monitoring (who, w, last)
User management controls identity, access, and system security.
Master this before moving into advanced hardening.
This covers:
โข /etc/passwd, shadow, group
โข useradd, usermod, userdel
โข groupadd, gpasswd
โข passwd, chage
โข sudo & privilege control
โข ACL (setfacl)
โข Session monitoring (who, w, last)
User management controls identity, access, and system security.
Master this before moving into advanced hardening.
๐ Basic Linux Commands โ Quick Reference
This covers the core areas every beginner must know:
1. File Commands
2. SSH
3. Installation basics
4. Networking tools
5. System info
6. Searching
7. Process management
8. Permissions
9. Compression
10. Terminal shortcuts
Consistency > Motivation.
Master one section at a time.
This covers the core areas every beginner must know:
1. File Commands
2. SSH
3. Installation basics
4. Networking tools
5. System info
6. Searching
7. Process management
8. Permissions
9. Compression
10. Terminal shortcuts
Consistency > Motivation.
Master one section at a time.
๐ Linux Ecosystem Overview (2026)
This visual organizes major Linux distributions into clear categories:
๐ต Core Foundations
Debian, Arch, Fedora
๐ข Beginner / Everyday Use
Ubuntu, Mint, Zorin, Pop!_OS
๐ Gaming / Multimedia
Bazzite, Nobara, Manjaro
๐ด Enterprise / Servers
RHEL, Rocky/AlmaLinux, Ubuntu Server
๐ฃ Specialized / Power Users
Kali, Tails, NixOS
Understanding distribution categories helps in selecting the right tool for the right purpose.
This visual organizes major Linux distributions into clear categories:
๐ต Core Foundations
Debian, Arch, Fedora
๐ข Beginner / Everyday Use
Ubuntu, Mint, Zorin, Pop!_OS
๐ Gaming / Multimedia
Bazzite, Nobara, Manjaro
๐ด Enterprise / Servers
RHEL, Rocky/AlmaLinux, Ubuntu Server
๐ฃ Specialized / Power Users
Kali, Tails, NixOS
Understanding distribution categories helps in selecting the right tool for the right purpose.