how to know the size of a file in bash code example
Example: bash size file
du -hs file/or/folder/path
---------------------------------------------------
-h for human readable
-s for summary: only total amount, not single files
du -hs file/or/folder/path
---------------------------------------------------
-h for human readable
-s for summary: only total amount, not single files