• Contact
  • About Me
  • Privacy Policy
  • Disclaimer
DefenceDev
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos
No Result
View All Result
DefenceDev
No Result
View All Result
ADVERTISEMENT
Home Solutions

Solutions: Check Disk Usage on Ubuntu Terminal with ncdu Application

neo by neo
May 27, 2025
in Solutions
0
Solutions: Check Disk Usage on Ubuntu Terminal with ncdu Application

Solutions: Check Disk Usage on Ubuntu Terminal with ncdu Application

0
SHARES
6
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Disk Usage on Ubuntu Server

Check Disk Usage on Ubuntu Server in Terminal with ncdu Applicationis a vital task for any system administrator or Linux user, especially on servers or machines with limited storage. While tools like df and du provide useful insights, they can be overwhelming for users who prefer a more streamlined and interactive approach.

Introduction

In this article, we will check disk usage on Ubuntu Terminal Server with ncdu application. Disk space management is crucial for any server or computer, especially in environments with limited resources. When disk space starts running low, identifying large files and directories can become a not so easy task. However, with the help of ncdu (NCurses Disk Usage), this process becomes quick and straightforward.

ncdu (NCurses Disk Usage) is a curses-based version of the well-known ‘du’, and provides a fast way to see what directories are using your disk space.

More information about ncdu you can find at the link.

Install ncdu Application

 apt-get install ncdu

Scan disk with ncdu Application

Imagine your server suddenly runs out of space, and you need to act fast to identify and clean up large files. Traditional commands like du provide raw data but can be hard to navigate. ncdu, on the other hand, offers an interactive and user-friendly interface, allowing you to explore your disk usage in a structured way. It highlights the largest directories and files, making clean-up easier and more efficient.

ADVERTISEMENT

To run the application, execute the following command:

sudo ncdu /

Output:

NCDU example
ncdu example on Ubuntu 22.04

Navigate through the application and check disk usage

To navigate through the application, use your keyboard and simply check which folders or files are using the most space.

ADVERTISEMENT
ADVERTISEMENT

Conclusion

In this article, we explore how to install and use ncdu on Ubuntu to efficiently manage disk space, clean up unused files, and maintain your system’s performance. Whether you’re a seasoned Linux user or just getting started, this tool is a must-have for disk monitoring and management.

defencedev.com



About The Author

neo

See author's posts

ADVERTISEMENT
Previous Post

Nextcloud: Maintenance with OCC Command with Practical Examples

Next Post

Solutions: Send E-Mail from Linux Terminal

neo

neo

Related Posts

My Ultimate Docker Command Cheat Sheet (2025 Edition)
Docker

My Ultimate Docker Commands Cheat Sheet (2025 Edition)

Protect Docker-Hosted Application from HTTP Flood (DDoS) Attacks Using a Bash Script
Docker

Protect Docker-Hosted Application from HTTP Flood (DDoS) Attacks Using a Bash Script

Raspberry Pi Monitoring with Monit: Docker, Temperature, Network & More
Solutions

Raspberry Pi Monitoring with Monit: Docker, Temperature & More

Install WordPress on Raspberry Pi 4 with Docker (Ubuntu 22.04)
Docker

Install WordPress on Raspberry Pi 4 with Docker (Ubuntu 22.04)

Install Nextcloud on Raspberry Pi 4 with Docker (Ubuntu 22.04)
Docker

Install Nextcloud on Raspberry Pi 4 with Docker (Ubuntu 22.04)

Install Nginx Proxy Manager on Raspberry Pi 4 with Docker (Ubuntu 22.04)
Docker

Install Nginx Proxy Manager on Raspberry Pi 4 with Docker (Ubuntu 22.04)

Next Post
Solutions: Send E-Mail from Linux Terminal

Solutions: Send E-Mail from Linux Terminal

Recommended

Linux Networking: route, Mastering Routing in Ubuntu

Linux Networking: route, Mastering Routing in Ubuntu

A screenshot of WinBox showing the process of creating 'New DHCP Server'.

MikroTik: Configure DHCP Server and Settings on Interface

Automating Linux Server Reboot with Ansible

Automating Linux Server Reboot with Ansible

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails

MikroTik: OpenVPN Client Failover Script

MikroTik: OpenVPN Client Failover Script

Categories

  • Blog
  • Cloud
    • Private
  • Linux Tutorials
    • Bash Scripting Tutorials
    • Commands
    • Networking
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Solutions
    • Docker
  • Video Tutorials
    • MikroTik Videos
ADVERTISEMENT

DefenceDev Tutorials

defencedev Logo

Whether you’re just starting or looking to expand your skills, I hope you find useful information and engaging discussions here. Let me take you through my journey and the goals behind this space!

Follow Us

Recent News

Automating Linux Server Reboot with Ansible

Automating Linux Server Reboot with Ansible

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails

MikroTik OpenVPN: Sound Alert When VPN Tunnel Fails

  • Site Map
  • Privacy Policy
  • Facebook Page
  • Disclaimer
  • Contact
  • About Me

© 2025 defencedev.com - All rights reserved.

No Result
View All Result
  • Home
  • Blog
  • Linux Tutorials
    • Bash Scripting Lessons
    • Commands
    • Networking
    • Bash Scripts
  • Solutions
    • Docker
  • Network Tutorials
    • FortiGate
    • MikroTik
  • Projects
    • AdGuard
    • Immich
    • Nextcloud
    • WordPress
  • Cloud
  • Video Tutorials
    • YouTube Channel
    • MikroTik Videos

© 2025 defencedev.com - All rights reserved.