Home » Questions » Computers [ Ask a new question ]

How to check the current disk space used by my linux?

How to check the current disk space used by my linux?

The entire box. How many gigs is everything using?

Asked by: Guest | Views: 100
Total answers/comments: 5
Guest [Entry]

"At a command line, type

df -a

This will list each device and usage information.

You might find

df -h

more readable, since it gives quantities in Gb or Mb, etc."
Guest [Entry]

"du . -h --max-depth=1

lists the size of all the folders in the current directory (or at a location of your choice)"
Guest [Entry]

df -h
df -h
Guest [Entry]

"There is also ncdu:

Not quite happy with the available disk usage analyzers and looking
for a fun project to get used to C programming, I started working on
ncdu: A disk usage analyzer with an ncurses interface, aimed to be run
on a remote server where you don't have an entire gaphical setup, but
have to do with a simple SSH connection. ncdu aims to be fast, simple
and easy to use, and should be able to run in any minimal POSIX-like
environment with ncurses installed."
Guest [Entry]

du