command

Linux: Find Big Files

Submitted by yasin on Mon, 01/21/2019 - 13:17

Command is;

  du -ahx / | sort -nr | head -n 20

Let me explain a little;

du: It is the command for seeing disk usage of the files and folders.

You can transfer the output to the next command by using "pipe" ( | ), and then sort .

Then you can see the first lines only by using the command head