9/4/2023 0 Comments Users folder taking up spaceYou may get some errors on /proc, /sys, and/or /dev since they are not real files on disk. If your disks are big enough, you could add |T as well to include Terabyte amounts. The grep is to limit the returning lines to those which return with values in the Megabyte or Gigabyte range. I start by running this as root or with sudo: du -cha -max-depth=1 / | grep -E "M|G" However, if you need to do it from CLI, this is my preferred method: As always in Linux, there's more than one way to get the job done.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |