I try to run du -ch in several directories, but I only separately show only the total size of all files (I do not want each separate file, and then the end at the end, that is, -c does).
du -ch
-c
To resolve this issue, run the following command as parameter transfer directories.
du -hs
Some ideas:
$ du -sh . $ du -chs * $ du -chs * | tail -1
Source: https://habr.com/ru/post/1242119/More articles:Error: "git:" subodule "is not a git command in Intel Edison and git 2.0.1 - gitDisable graph display in R - rInstall , losing data when recovering from SharedPreferences after restarting the application. - javaAndroid ListView with Delete / Retrieve String ID checkbox - androidAuth :: user () returns null - authenticationHow to create a universal object model for use in QML? - c ++Incorrect rotation and translation from the main matrix - opencvtkinter - How to stop the size of a frame change when adding a widget? - pythonWhat are the disadvantages of QAbstractListModel containing objects in QML? - c ++How to set page layout markup on a sheet using EPPlus - c #All Articles