🚀 NCDU – A Powerful Linux Disk Usage Analyzer Every DevOps Engineer Should Know When managing Linux servers (EC2, VPS, or local machines), one of the most common issues is: 👉 “Disk is full — but what is actually consuming the space?” That’s exactly where NCDU (NCurses Disk Usage) comes in. 🔹 What is NCDU? NCDU is a fast, interactive command-line tool used to analyze disk usage in Linux systems. Unlike the traditional du command, it provides a clean, navigable interface to explore storage usage efficiently. ⚙️ Installation: sudo apt update sudo apt install ncdu 🚀 How to Use: Scan entire system: ncdu / Scan specific directory: ncdu /var 📊 Key Features: ✔ Interactive terminal-based UI ✔ Fast directory scanning ✔ Easy navigation with arrow keys ✔ Identify large files instantly ✔ Option to delete files directly from interface 🔥 Real DevOps Use Cases: Debugging full disk issues on EC2 instances Cleaning Docker images and containers Analyzing /var/log file growth Optimizing server storage usage Finding hidden large files quickly ⌨️ Useful Shortcuts: ↑ ↓ → Navigate directories Enter → Open folder d → Delete file/folder q → Quit 💡 Conclusion: NCDU is a must-have tool for Linux system administrators and DevOps engineers. It turns complex disk analysis into a simple, interactive experience and saves significant troubleshooting time in production environments. 🚀 If you manage servers, NCDU should be in your daily toolkit. #Linux #DevOps #SysAdmin #AWS #CloudComputing #NCDU
Muhammad Imran Bashir’s Post
More Relevant Posts
-
🚀 Mastering Linux Commands: The Backbone of DevOps & System Administration If you're working in DevOps, Cloud, or System Administration, Linux is not optional — it's mandatory. Here are some essential Linux commands every engineer should know 👇 🔹 System Monitoring top / htop / btop → Real-time system processes free -h → Memory usage uptime → System load 🔹 Disk Management df -h → Disk space usage du -sh → Folder size lsblk → Block devices 🔹 Process Management ps aux → Running processes kill -9 PID → Force stop process pkill <name> → Kill by process name 🔹 Networking netstat -tulnp → Open ports ss -tulnp → Modern netstat ping <host> → Connectivity check curl <url> → Test APIs 🔹 File & Directory ls -la → List files cd → Change directory cp, mv, rm → Manage files find / -name file.txt → Search files 🔹 Permissions chmod 755 file → Change permissions chown user:group file → Change ownership 🔹 Package Management (Ubuntu) apt update && apt upgrade apt install <package> 💡 Pro Tip: Don’t just memorize commands — understand when and why to use them, especially during production issues. 🔥 In real DevOps scenarios, these commands help you: ✔ Debug live servers ✔ Monitor performance ✔ Fix outages quickly ✔ Manage infrastructure efficiently Start practicing daily — Linux is a skill that compounds over time. #Linux #DevOps #SystemAdmin #CloudComputing #Kubernetes #AWS #Docker #ITSkills
To view or add a comment, sign in
-
-
This #Linux commands #CheatSheet deserves a repost. Oh, here's a BIG shoutout these Linux distros that ALWAYS provide a rock solid RELIABLE computing EXPERIENCE for their users and #WindowsRefugees abandoning #Windows7, #Windows8, #Windows10 or #Windows11 on the desktop of things: #Debian, #LinuxMint / #LMDE / #LMDE7, #MXLinux, #Kubuntu, #ZorinOS, #Fedora, #UbuntuMATE, #UbuntuBudgie, #OpenSuse. Now, IF you absolutely plan on fleeing #WindowsServer in order to save a boatload of cash on licensing, you will NOT be disappointed with these: #Debian, #AlmaLinux or #RockyLinux (both are drop-in replacements for #RHEL aka #RedHat's #EnterpriseLinux). Note: 🤔 I got BIG RESPECT for Windows on the "server side" though IF you MUST manage a #Windows environment. I have had nothing but great computing experieinces with #WindowsServer2012R2 #WindowsServer2016 & #WindowsServer2019. These editions have NEVER ever let me or my clients down in the past when running #QuickBooksPOS aka #QBPOS aka #QuickBooks #PointOfSale. They just run & run & run without any complaints. 🤔
DevSecOps Engineer | AWS Cloud | CI/CD | Kubernetes | Terraform | Docker | Cloud Security (SAST/DAST) | Infrastructure Automation & Scalable Systems
🚀 Mastering Linux Commands: The Backbone of DevOps & System Administration If you're working in DevOps, Cloud, or System Administration, Linux is not optional — it's mandatory. Here are some essential Linux commands every engineer should know 👇 🔹 System Monitoring top / htop / btop → Real-time system processes free -h → Memory usage uptime → System load 🔹 Disk Management df -h → Disk space usage du -sh → Folder size lsblk → Block devices 🔹 Process Management ps aux → Running processes kill -9 PID → Force stop process pkill <name> → Kill by process name 🔹 Networking netstat -tulnp → Open ports ss -tulnp → Modern netstat ping <host> → Connectivity check curl <url> → Test APIs 🔹 File & Directory ls -la → List files cd → Change directory cp, mv, rm → Manage files find / -name file.txt → Search files 🔹 Permissions chmod 755 file → Change permissions chown user:group file → Change ownership 🔹 Package Management (Ubuntu) apt update && apt upgrade apt install <package> 💡 Pro Tip: Don’t just memorize commands — understand when and why to use them, especially during production issues. 🔥 In real DevOps scenarios, these commands help you: ✔ Debug live servers ✔ Monitor performance ✔ Fix outages quickly ✔ Manage infrastructure efficiently Start practicing daily — Linux is a skill that compounds over time. #Linux #DevOps #SystemAdmin #CloudComputing #Kubernetes #AWS #Docker #ITSkills
To view or add a comment, sign in
-
-
One of the most powerful aspects of Linux is how efficiently it handles **search operations and file permissions**. In real-world DevOps and server administration, these two concepts are used almost every day. 🔍 **Search Commands in Linux** Finding files, logs, or configurations quickly is crucial while working on servers. Some of the most commonly used commands are: `find` → Used to search files and directories based on name, type, size, or modified time Example: `find /home -name "*.log"` `grep` → Used to search for a specific word, pattern, or text inside files Example: `grep "error" application.log` `locate` → Quickly finds file paths from the system database Example: `locate nginx.conf` These commands make troubleshooting and log analysis much faster in production environments. 🔐 **Permission Commands in Linux** Linux permissions decide **who can read, write, or execute a file**. Each permission has a numeric value: `r = 4` → Read permission `w = 2` → Write permission `x = 1` → Execute permission These values are added together to form permission codes. For example: `7 = 4 + 2 + 1` → `rwx` `6 = 4 + 2` → `rw-` `5 = 4 + 1` → `r-x` `4 = 4` → `r--` So when we use: `chmod 755 file.sh` It means: Owner → `7` = `rwx` Group → `5` = `r-x` Others → `5` = `r-x` Understanding permissions is essential for security, script execution, and access control in Linux-based environments. Linux is not just about commands — it’s about control, security, and efficiency. #Linux #DevOps #CloudComputing #AWS #SystemAdministration #ServerManagement #Automation #SoftwareEngineering #Infrastructure #LinuxCommands #CareerGrowth #Technology #DevopsWithMultiCloud #flm #frontlinesmedia
To view or add a comment, sign in
-
-
Today, I started building a Linux monitoring and alerting project using Datadog and Slack. The goal of this project is simple: To monitor Linux servers in real time, collect important system metrics, analyze logs, and trigger alerts when something needs attention. In real production environments, it is not enough to deploy servers and hope they keep working. You need visibility. You need alerts. You need logs. And most importantly, you need to know when something is going wrong before users start complaining. For this project, I am setting up monitoring for Linux servers and tracking key system metrics such as: ✅ CPU usage ✅ Memory usage ✅ Storage usage ✅ Network interface activity ✅ Disk I/O performance ✅ Server logs The architecture flow is: Linux Servers → Metrics & Logs → Datadog → Alerts → Slack Datadog will act as the central monitoring platform, collecting metrics and logs from the Linux servers. Slack will be used as the alerting channel, so notifications can be sent when a threshold is crossed or an incident needs attention. What makes this project valuable is not just the tools. It is the operational thinking behind it. This project is helping me understand how engineering teams detect issues, respond faster, and keep systems reliable. Some of the key areas I will be working on include: 🔹 Installing and configuring the Datadog agent on Linux servers 🔹 Collecting infrastructure metrics 🔹 Enabling log monitoring 🔹 Creating alert monitors 🔹 Integrating Datadog alerts with Slack 🔹 Testing alerts under real conditions 🔹 Documenting the full monitoring workflow For me, this is more than a monitoring setup. It is a hands-on step into observability, incident response, and production readiness. Because in DevOps, building infrastructure is only one part of the work. Knowing how to monitor it, troubleshoot it, and respond when things break is what makes the system reliable. Before the end of the week, I would give a breakdown on how I was able to do this. #DevOps #Linux #Datadog #Monitoring #Observability #Slack #CloudEngineering #InfrastructureMonitoring #SRE #WomenInTech #AWS #CloudSecurity #Digitalwitchtraining
To view or add a comment, sign in
-
-
💾 Linux Disk & Memory Usage: The Hidden Skill Every Engineer Must Learn Most Linux users know commands. But real engineers know how to monitor system health before problems happen. 💻📊 That’s where Disk & Memory Usage in Linux becomes an essential skill for every Linux / DevOps / Cloud Engineer. Because when storage gets full or RAM runs out → servers slow down, apps crash, and performance drops. Here’s a simple guide 👇 💾 Disk Usage in Linux Disk usage means how much storage is used and how much is free in the system. Useful Commands: 🔹 df -h Shows total disk space, used space, free space in human-readable format. 🔹 du -sh foldername Shows size of a specific folder. 🔹 du -ah | sort -rh | head -10 Find top 10 largest files/folders. 🔹 lsblk Displays disks and partitions. 🔹 fdisk -l Shows partition details. 🔹 mount Displays mounted file systems. 🧠 Memory Usage in Linux Memory means RAM used by applications and system processes. Useful Commands: 🔹 free -h Shows RAM usage and swap memory. 🔹 top Live CPU + Memory usage. 🔹 htop Interactive system monitor (better than top). 🔹 vmstat Shows memory, CPU, process stats. 🔹 cat /proc/meminfo Detailed memory information. 🚨 Why This Matters in Real Jobs ✔ Server slow? Check memory usage ✔ Application crash? Maybe RAM full ✔ Disk full? Logs may consume storage ✔ High usage? Find heavy process quickly A healthy server is not judged by uptime only. It is judged by CPU + Memory + Disk + Network monitoring. Monitoring these daily makes you proactive, not reactive. 💡Practice Run these today: df -h free -h top du -sh /var/log Understand what your Linux system is consuming. 📌 Final Thought Many users operate Linux. But engineers observe Linux. Learn resource monitoring, and you’ll troubleshoot faster than others. 🚀 #Linux #DevOps #CloudComputing #SystemAdmin #LinuxCommands #AWS #Monitoring #SRE #TechCareers #LearningLinux
To view or add a comment, sign in
-
Linux Series – Part 1: Basics + Real-Time Concepts What is Linux? Linux is an open-source operating system used to manage hardware, software, and system resources. It is widely used in servers, cloud, and DevOps environments. Datacenter : A datacenter is a place where organizations store and manage: - Applications - Data - Systems Types: - On-Premise → Managed by the organization - Cloud Datacenter → Provided by cloud companies - Colocation → Renting space in another company’s datacenter Contains: - Servers - Storage systems - Networking devices - Cooling systems - Power backup - Security systems Why Multiple Users? In real environments: - Different people have different roles - Developer → writes code - Tester → tests applications - Admin → manages system Not everyone should have full access. Solution: Users, Groups & Permissions Instead of creating separate servers: - Create multiple users on the same server - Assign permissions (read, write, execute) - Use groups (dev, test, admin) Advantages: - Better security - Cost efficient - Accountability (track who did what) Basic Linux Commands touch → Create a new file touch file.txt ls → List files ll → Detailed list ll -a → Show hidden files cd → Change directory cd /home cd .. (move back one directory) mv → Move or rename files mv file.txt /home/user/ mv old.txt new.txt Understanding Linux is not just about commands, but about managing systems in real environments. #Linux #DevOps #Cloud #BeginnerFriendly #LearningJourney
To view or add a comment, sign in
-
-
Linux Troubleshooting? Start With These 6 Commands When production is down, you don’t need 100 tools… You need the right commands ⚡ Here are 6 Linux commands every DevOps/SRE should know: 🔹 top → Real-time CPU, memory, running processes 🔹 uptime → Load average (is your system overloaded?) 🔹 free -m → Memory usage & swap insights 🔹 iostat → Disk I/O performance (find bottlenecks) 🔹 df -h → Disk space (catch full servers early) 🔹 ps -ef | grep → Find and debug running processes 💡 Why this matters: Most production issues come down to: ✔ CPU saturation ✔ Memory pressure ✔ Disk bottlenecks ✔ Misbehaving processes And these commands give you answers in seconds ⏱️ ⚡ Pro Tip: Before jumping into dashboards or tools → SSH into the server and run these first. ⸻ 🔥 Save this post — it’ll help you during your next incident 💬 Which command do you use the most during troubleshooting? #Linux #DevOps #SRE #Cloud #AWS #Kubernetes #SysAdmin #Troubleshooting #TechTips
To view or add a comment, sign in
-
-
__Introduction to Linux | History, Why It’s Powerful & Architecture Today, I strengthened my Linux fundamentals by learning about its history, importance, and layered architecture, which form the base of system administration and IT infrastructure. __ A quick look at Linux history: Linux was created by Linus Torvalds in 1991 as an open-source Unix-like operating system kernel. Over the years, it has become the backbone of servers, cloud platforms, DevOps pipelines, cybersecurity tools, and supercomputers worldwide. __ Why Linux is great: - Open-source and highly customizable - Strong security and stability - Powerful command-line environment - Excellent for automation and scripting - Widely used in servers, cloud, and DevOps __ Linux Architecture Flow: Hardware → Kernel → Shell → Applications 🔹 Hardware Layer – CPU, RAM, storage, and I/O devices that provide the physical resources for the system. 🔹 Kernel Layer – The core of Linux responsible for process management, memory allocation, device drivers, file systems, and security. 🔹 Shell Layer – The command interpreter that acts as the bridge between user commands and the kernel. 🔹 Application Layer – Software such as browsers, editors, databases, and server tools where users interact directly. Understanding Linux from both the historical and architectural perspective is helping me build stronger fundamentals before moving deeper into Bash scripting, process management, and DevOps tools. #Linux #LinuxAdmin #SystemArchitecture #Kernel #Shell #DevOps #LearningJourney
To view or add a comment, sign in
-
-
🚀Linux for DevOps - Must-Know Basics Linux is the backbone of DevOps. Every DevOps engineer should be comfortable with these core areas: 🔹File Management - Is, cp, mv, rm 🔹Permissions - chmod, chown 🔸Process Management - ps, top, kill 🔹Networking - ping, netstat, ss, curl 🔸Package Management - yum, apt 🔹Disk & Memory - df, du, free 🔸Logs Monitoring - tail -f, less, grep Strong Linux fundamentals = Strong DevOps foundation #DevOps #Linux #SysAdmin #Cloud #AWS #ITSkills #LearningJourney #Automation #Linux #DevOpsEngineer
To view or add a comment, sign in
-
DevOps can look very polished from the outside. • Cloud dashboards • Automated pipelines • Clean web interfaces • Seamless deployments Everything feels fast, modern, and under control 🚀 Until production breaks. And then… everything shifts back to fundamentals: • SSH into servers • Dig through /var/log • Run Linux commands to trace issues • Write quick Bash scripts to patch things up That’s when the reality becomes clear— No matter how advanced the stack is, it still runs on: • Linux • Bash • CLI tools These aren’t flashy. They don’t have dashboards. But they are the backbone of everything we build. At the end of the day, when systems fail, it’s not the UI that saves you — it’s your fundamentals. Takeaway: You can ignore Linux and Bash early on, but in real-world DevOps… the terminal is inevitable. #DevOps #Linux #Bash #CloudComputing #AWS #Automation #CloudEngineer #TechJourney
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development