Frequent Question: Which Folder Takes up the Most Space Linux?
Contents Which Folder Is Taking up the Most Space Linux? the Procedure to Find Largest Files Including Directories in Linux Is as Follows: Open the Terminal...
Contents
Which folder is taking up the most space Linux?
The procedure to find largest files including directories in Linux is as follows:
- Open the terminal application.
- Login as root user using the sudo -i command.
- Type du -a /dir/ | sort -n -r | head -n 20.
- du will estimate file space usage.
- sort will sort out the output of du command.
Must Read
Which directory is consuming space in Linux?
Using du to Find Directory Disk Usage: The du command is available in all modern Linux distribution by default. You don’t have to installing anything extra. The du command with the options -s (–summarize) and -h (–human-readable) can be used to find out how much disk space a directory is consuming.