We have launched a free Basic Kubernetes Course. Click here to enrol now! Kubernetes is a container orchestration platform used by enterprises worldwide and Kubernetes developers are in high demand!
Use the du command to get the size of a directory
du -h prints the size of current directory and each directory under it in a human readable form.
To get the size of the current directory only use this command
to get the size of a particular directory