As we all know that the folder in linux was identified as a given file or directory d flag, after the ls command is given will surely display the default size of a folder that is 4096:
andri@bima:/home/andri/repo-10.04$ ls -ltotal 16-r--r--r-- 1 root root 10 2010-05-02 23:00 Archive-Update-in-Progress-ranah.web.iddrwxr-xr-x 7 root root 4096 2010-04-30 19:47 distsdrwxr-xr-x 6 root root 4096 2010-05-01 02:58 pooldrwxr-xr-x 3 root root 4096 2010-05-02 21:12 project
to see the size of a directory or folder can use the du command, for example:
andri@bima:/home/andri/repo-10.04$ du -s 41173756andri@bima:/home/andri/repo-10.04$ du -hs40Gandri@bima:/home/andri/repo-10.04$ du -hs /home/andri/repo-10.0440G /home/andri/repo-10.04/
That's it :)
No comments:
Post a Comment