How Do You Find Which Files Are Taking up Space in Linux?
Contents How Can I Tell Which Directory Is Taking up More Space? You Can Use Du -K. … Du /Local/Mnt/Workspace | Sort -N Should Make It. … Suggest Using -K Flag...
Contents
How can I tell which directory is taking up more space?
- You can use du -k . …
- du /local/mnt/workspace | sort -n should make it. …
- Suggest using -k flag to get result in kB rather than “blocks”. …
- @Floris – i only want to size of top-level directories under /local/mnt/work/space ..”du -k .” seems to point size for every subdirectory ,how to get size of only top-level directory? –
How do I see hidden spaces in Linux?
How to check drive space on Linux from the command line
- df – reports the amount of disk space used on a file system.
- du – reports the amount of space used by specific files.
- btrfs – reports the amount of space used by a btrfs file system mount point.
9 авг. 2017 г.