How To Get Size of Directory/Folder In Linux?

How To Get Size of Directory/Folder In Linux?

Directories or folders can contain multiple files and directories. These multiple files and directories use some disk space and have a size. But when we list the files and directories we see that the directory size is listed as 4096 bytes or 4KB. This is the directory standard size which does not contain the files … Read more

Linux du Command Tutorial with Examples

Linux du Command Tutorial with Examples

The du command is used to get information about the disk usage in Linux. The du command provides a lot of useful information about disk usage like directory size, file size, free percentage, etc. Print File Sizes as Byte The du command is used to list given files and directories sizes in the byte unit. … Read more