I found that there is no easy to get way the size of a directory in Bash?
I want that when I type ls -, it can list of all the sum o
ls -
Simply navigate to directory and run following command:
du -a --max-depth=1 | sort -n
OR add -h for human readable sizes and -r to print bigger directories/files first.
du -a -h --max-depth=1 | sort -hr