ls folder size in gb code example
Example 1: ls file size
ls -l --block-size=M
Example 2: ls directory size
# With disk usage --summarize and --humanreadable
du -sh *
ls -l --block-size=M
# With disk usage --summarize and --humanreadable
du -sh *