What Is the Command to Check the Folder Size in Linux?
Contents Option 1: Display the Size of a Directory Using the Du Command. the Du Command Stands for Disk Usage. This Command Is Included by Default in Most...
Option 1: Display the Size of a Directory Using the du Command. The du command stands for disk usage. This command is included by default in most Linux distributions. The system should display a list of the contents of your home directory, with a number to the left.
How do I check the size of a folder in Linux?
By default, the du command shows the disk space used by the directory or file. To find the apparent size of a directory, use the –apparent-size option. The “apparent size” of a file is how much data is actually in the file.
What is the command to check file size in Linux?
You can use any one of the following command line options to display file size on Linux or Unix-like operating systems: a] ls command – list directory contents. b] du command – estimate file space usage. c] stat command – display file or file system status.