Quick way find large files taking up space in Linux
In Linux, even have the problem of an almost full disk space.
Here’s a quick way to find the largest files taking up space.
Just type the command:
du -hsx * | sort -rh | head -10
This will find the 10 most largest files in the current directory.
If you want to find more files just change the head -10 to the number of files you need to find.
Then just delete the files you no longer require and free up some space 🙂