du Command in Linux/Unix with ExamplesLast Updated : 17 Mar 2025 Command du stands for Disk Usage. It is used to check the information of disk usage of files and directories on a system. Command du display a list of all the files along with their respective sizes. By default, size given is in kilobytes. File names are used as arguments to get the file size. Syntax: ![]() Look at the above snapshot, du command display number of disk blocks in current directory file. It does not display all files, only files occupying some disk space are displayed. Here, first column display the size of disk space. Options
Next TopicLinux init |
We request you to subscribe our newsletter for upcoming updates.

We deliver comprehensive tutorials, interview question-answers, MCQs, study materials on leading programming languages and web technologies like Data Science, MEAN/MERN full stack development, Python, Java, C++, C, HTML, React, Angular, PHP and much more to support your learning and career growth.
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India
